Login Page - Create Account

Support Board


Date/Time: Wed, 01 May 2024 22:37:54 +0000



Using Code to Set a color Hue, Sat and Lum

View Count: 1010

[2015-10-02 23:18:30]
KhaosTrader - Posts: 128
Hi,

I understand how to use the RGB function to set a color, but is there a way to also set the Hue, Sat and Lum by code also?

Thanks in advance
[2015-10-03 00:49:39]
Sierra Chart Engineering - Posts: 104368
No, this is not supported. Only Red Green Blue intensities.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2020-02-21 09:01:15]
Ackin - Posts: 1865
Sierra Chart Engineering)

5 years later ....

EDIT: solved.... the code for it is done....Thank you for the answer
Date Time Of Last Edit: 2020-02-21 17:05:17
[2020-02-21 09:57:04]
Sierra Chart Engineering - Posts: 104368
How would that be done? Colors are specified as RGB values to the operating system. There simply is not any lagging behind here at all. This is a completely unnecessary request.

The graphics library we use in the operating system does not support this.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2020-02-21 09:57:36
[2020-02-21 16:29:49]
bradh - Posts: 854
I understand how to use the RGB function to set a color, but is there a way to also set the Hue, Sat and Lum by code also?

There are several examples of code that will perform this conversion if you search for it.
[2020-02-21 18:04:56]
Sierra Chart Engineering - Posts: 104368
Yes that there are certainly conversion functions available.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account