TScRGBColor.SRGBtoRGB Method
Converts a sRGB value to RGB using a gamma of 2.2
Syntax
Unit: FlexCel.Core
class function TScRGBColor.SRGBtoRGB(const component: Double): Double; static;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | component | Double | sR, sG or sB component of the color. |