Page 1 of 1

setRGB() how to

Posted: Sunday 15 November 2020 13:54
by kroonp
Hello all,

In domoticz I set the color of a lamp to a color that I like. This is FEBC54 in the domoticz color choices. In Photoshop, this color in RGB is 255-205-102. However, if I setRGB(255,204,102) in a dzVents script, I get a different color. Is there a way to set in dzvents a color to match the color set in domoticz's default app?

Thankx,
Peter

Re: setRGB() how to

Posted: Sunday 15 November 2020 15:04
by kroonp
setRGB(255,204,102) is a type error must beset setRGB(255,205,102)

Re: setRGB() how to

Posted: Sunday 15 November 2020 16:28
by waaren
kroonp wrote: Sunday 15 November 2020 13:54 In domoticz I set the color of a lamp to a color that I like. This is FEBC54 in the domoticz color choices.
FEBC54 should be equivalent to setRGB(254, 188, 84 )

Re: setRGB() how to  [Solved]

Posted: Monday 16 November 2020 11:02
by kroonp
Thankx Waaren!