Color type (H): Positive value
・It is the same as the angle, and if it exceeds 360, it will be treated as the same color as 0.
・As the number increases, the color changes smoothly from red to yellow to green to blue to purple.
Color vividness (S): 0 to 255
・The smaller the number, the whitish.
Color brightness (V): 0 to 255
・0 indicates black and 255 indicates the brightest.
Transparency to be set in the return color code: 0 to 255
・255 is the default.
Color code equivalent to HSV value
GCLS HSV(100,100,100,100) FOR I=0 TO 360 GPSET I,10,HSV(I,255,255) NEXT
Color code to convert
・See GCOLOR for a description of color codes.
The hue of the specified color
・Returns a value between 0 and 360.
The saturation of the specified color
・Returns a value between 0 and 255.
The brightness of the specified color
・Returns a value between 0 and 255.
Transparency of the specified color
・Returns a value between 0 and 255.
HSV RGB(192,128,0) OUT H,S,V ?H,S,V