Color Names - Orange

rhinocommon
rhino5

#1

please notice, that under .net / RhinoCommon / C#

System.Windows.Drawing.Orange
is R 255 G 165 B 0

and Rhino s color-chooser top-level Orange is a mathematical Orange
is R 255 G 127 B 0

if you use _selColor this might help you to coordinate programmed colors and Rhino.

see also this old post:


the precise location of the color.txt is here
C:\Users\xxxYourUserxxx\AppData\Roaming\McNeel\Rhinoceros\5.0\Localization\en-US\Support\colors.txt


(Dale Fugier) #2

Hi Tom,

Is there an action to be taken here?

– Dale


#3

dear Dale - thanks for asking - i think no action is necessary.
i just wanted to share that info.

( during development i use orange object color to show errors - invalid results - geometry that went wrong, super short curves …) . I ran into this speciality trying to find some errors… )

but maybe better don t aks - i will come up with the mulit-select option for the Color chooser with _selColor.
:wink:


(Dale Fugier) #4

https://mcneel.myjetbrains.com/youtrack/issue/RH-37063