how to convert R-G-B to Autocat color

Does anybody know how to convert R - G - B color into AutoCAD 256 color index?

Thank you.
shean85Asked:
Who is Participating?
 
Roshan DavisCommented:
Plz look at this link http://bitsy.sub-atomic.com/~moses/acadcolors.html

Keep a map that contains the RGB values and this index.

When u need the RGB value, access the data by giving the index...need Index value, then give the Key value (RGB)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.