English French German Spanish Russian
What color is that? @{RGBA} color tags - TECHNICAL SUPPORT / WEB APPs BUGS - Ryzom Community ForumHomeGuest

TECHNICAL SUPPORT / WEB APPs BUGS


What color is that? @{RGBA} color tags

its the usual short version for hex colors...

code -> short (long to dec)
00 -> 0 (0)
11 -> 1 (17)
22 -> 2 (34)
33 -> 3 (51)
44 -> 4 (68)
55 -> 5 (85)
66 -> 6 (102)
77 -> 7 (119)
88 -> 8 (136)
99 -> 9 (153)
aa -> a (170)
bb -> b (187)
cc -> c (204)
dd -> d (221)
ee -> e (238)
ff -> f (255)

your RGB(0,245,184) would be the same as #00F5B8
your calculation should make it 0, 15.3125 (15), 11.5 (12) -> #0FC
I'd say #0EB (look at the table above to see why) making it @{ 0ebf }

Try it and see if the color matches better ;-)


Edit: lol, was getting an error "::Entity [0ebf] has not been defined in the configuration"

---

Show topic
Last visit Mon Jul 13 17:50:28 2020 UTC
P_:

powered by ryzom-api