Correspondence of color names in Paint Bucket
-
Does anyone know the correspondence of color names in Paint Bucket and Color table?
For example, I select a color "Color_A01" in Paint Bucket, is the color in the Color table https://developers.google.com/sketchup/docs/ourdoc/color?, like "AliceBlue".
The "Color_A01" is select by someone else, I need to know the corresponding name in the table so that I can use it in my ruby code. Is there a corresponding list?
-
I'm not sure that there is any correspondence between the external SKM file's RGB values and the built-in [OpenGL] colors.
You can of course make new materials directly from from colors - like 'AliceBlue' - just by specifying a valid name as the material.
You can also get any material's RGB color values in API code and from that you can compare it to the 'built-in' colors' RGB values.
See the Material AND Color parts of the API docs...
If you have a material already in the SKP why do you need to use a new 'color' based one at all ? -
@tig said:
I'm not sure that there is any correspondence between the external SKM file's RGB values and the built-in [OpenGL] colors.
You can of course make new materials directly from from colors - like 'AliceBlue' - just by specifying a valid name as the material.
You can also get any material's RGB color values in API code and from that you can compare it to the 'built-in' colors' RGB values.
See the Material AND Color parts of the API docs...
If you have a material already in the SKP why do you need to use a new 'color' based one at all ?Hi, TIG. Sorry for my late thanks.
Actually, other people im my group use two styles of colors, e.g.the external SKM file's colors and the built-in [OpenGL] colors. I want to integrate them.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement