Reading texture value in construction script

Is there a way to read the color of a texture in the construction script?