Rhino.MaterialColor to RGB values?

Hi,

I have a problem to read rgb values in Rhinoscript as Rhino.MaterialColor returns something like this:
11908533
That’s supposed to be grey… How to decode it to r / g / b values?

… I solved this as mentioned in later posting… But is there a way to determine MaterialTexture size in RhinoScript?

1 Like

RGB (181, 181, 181)

Thanks… But I found how to do it in script: r = rhino.ColorRedValue(matColor) ect.

1 Like