sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Correspondence of color names in Paint Bucket

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    3 Posts 2 Posters 280 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lbsswuL Offline
      lbsswu
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • lbsswuL Offline
          lbsswu
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement