4D v13PV Color to index |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D View v13
PV Color to index
PV Color to index
The PV Color to index command returns the number of the specified RGB color in the default 4D color palette. 4D's indexed colors range from 0 to 255. Refer to the descriptions of the following 4D commands for detailed information on the RGB colors used by 4D:
This method sets in cell A1 the background color set by the RGB values (0 to 255) entered in cells A2, A3, and A4. The C1 cell displays the number of the index color closest in the 4D palette — with the ad hoc background color — while cells C2, C3, and C4 display the RGB values corresponding to this indexed color, which then illustrates the difference between the starting values. C_LONGINT($Color) `Background color for A1 (RGB) then color after indexing |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: 4D View 6.8 SEE ALSO |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||