|
|
|
|
|
- RGB and code editor
- Miscellaneous
RGB (Function) In french: RVB Defines a color from its Red, Green and Blue components.
dFill(10, 50, RGB(0, 255, 255))
Syntax
<Result> = RGB(<Red component> , <Green component> , <Blue component>)
<Result>: Integer Color (24 bits) corresponding to the selected components. This color is the result of the following formula:Color = 65536 * Blue Component + 256 * Green Component + Red Component. <Red component>: Integer (from 0 to 255) Amount of red in the color. <Green component>: Integer (from 0 to 255) Amount of green in the color. <Blue component>: Integer (from 0 to 255) Amount of blue in the color. Remarks RGB and code editor In the code editor, when the RGB function and its parameters are specified, a square appears automatically, showing the corresponding color: A click in the colored square is used to open the color picker. If the color is modified, the modification is taken into account when validating the color picker. Miscellaneous - The colors specified with RGB can be modified according to the capacity of the current screen mode (VGA, 32 colors, etc.).
- Important: When indicating colors, we recommend using the color constants defined in WLanguage (see the preset colors of WLanguage).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|