TScRGBColor.RGBtoSRGB Method
Converts a RGB value to sRGB using a gamma of 2.2
Syntax
Unit: FlexCel.Core
class function TScRGBColor.RGBtoSRGB(const component: Double): Double; static;
Parameters
<-> |
Parameter |
Type |
Description |
const |
component |
Double |
R, G or B component of the color. |
See also