RGB (PQL)
Returns the numeric value for a color based on the inputted values for red, green and blue based on the ‘red-green-blue’ color model.
- Returned Output: Numeric
- Library: PQL \ Common \ Math
- Version: 2018.00.000
- Compatibility:
- It can be combined with other PQL functions throughout the application.
- It CANNOT be used with MDX or VBA functions. But it can be used on MDX-based content in other parts of the application.
Syntax
* Click on the function’s arguments above for more details on the input values.
Comments
- The numeric color values should be positive integers between 0 and 255 for each red, green and blue integer argument.
To find the numbers that match your target color, use the custom color picker inside the application from any of the color palette menu tools.
Examples
This example returns “0” - black
This example returns “255” - red
This example returns “65280” - green
This example returns “65535” - yellow
This example returns “16711680” - blue
This example returns “16776960” - cyan
This example returns “16777215” - white

