SRL Archive - OSR Help

How do you find out what color a color code is?


Riteaz

2013-07-02 20:34:42

If I have a color code such as "8095010" and I wanted to find out what color that it looks like when you actually see it. How would I find out?

Sjoe

2013-07-02 20:41:45

Inputting in the DTM editor works.


Brandon

2013-07-02 20:58:54

From: Riteaz
If I have a color code such as "8095010" and I wanted to find out what color that it looks like when you actually see it. How would I find out?


in your script, do:

ColorToRGB(….);
writeln(R);
writeln(G);
writeln(B);

check it in any program you like or just google the RGB values. A "color code" is also know as a Win32 Colorref if you want it in other languages: http://msdn.microsoft.com/en-us/library/windows/desktop/dd183449(v=vs.85).aspx


Edit:
As pointed out above, you can use dtm editor. I never knew that :o

rj

2013-07-02 21:01:40

From: Brandon
in your script, do:

ColorToRGB(….);
writeln(R);
writeln(G);
writeln(B);

check it in any program you like or just google the RGB values. A "color code" is also know as a Win32 Colorref if you want it in other languages: http://msdn.microsoft.com/en-us/library/windows/desktop/dd183449(v=vs.85).aspx


Edit:
As pointed out above, you can use dtm editor. I never knew that :o

In line with what he said, the color picker also displays the RGB values:


Riteaz

2013-07-03 07:00:02

From: Sjoe
Inputting in the DTM editor works.


Thank you very much, this s what I was looking for.

Sjoe

2013-07-03 07:43:47

From: Riteaz
Thank you very much, this s what I was looking for.


No probs :)