Name: Calculate Colour
Author: Stephane Vellay
Version: 1.1
Created: 6/2009
Updated: 8/2009
Purpose: Calculate Hexadecimal Colour Code by interpolating RGB, HSL or HSV Values
Basically, any property can be used to calculate the Hue, or the Saturation, or the Red channel of your colour.
/!\ The difference with the Calculate Gradient Colour is that this one doesn't need markers. One property can for example set the Hue directly. Compare the parameters for the rainbow examples to have a clear idea.
HSL and HSV are two related representations of points in an RGB color space, which attempt to describe perceptual color relationships more accurately than RGB, while remaining computationally simple. HSL stands for hue, saturation, lightness, while HSV stands for hue, saturation, value.
Cf. HSL and HSV on Wikipedia and EasyRGB Conversion Equations.
Requirements: PP Generic to calculate the Hexadecimal Colour, Reporting collection to use it in the example protocols, The Rainbow example protocol is using the Data Connector of PP 7.5 CU1, but it is not mandatory.
Limitations: Not known
Keyword: reporting colour color gradient rainbow hue saturation value lightness red green blue RGB
Contents:
Component
- Calculate Colour.xml
Example Protocols
- Calculate Colour from Green Value.xml
- Colour Charts from All.xml
- Fake 3D XY Chart.xml
- Rainbow from Hue Value.xml