Skip to main content
Table of Contents

TTMSFNCColorWheel.RGBToGraphicsColor Method

Composes a color value from separate red, green, and blue channel bytes.

API unit family: TMSFNCColorWheel Declaring type: TTMSFNCColorWheel Inherited from: TTMSFNCCustomColorWheel

Syntax

FMX.TMSFNCColorWheel.hppPascalC++
function RGBToGraphicsColor(R, G, B: Integer): TTMSFNCGraphicsColor;
Fmx::Tmsfncgraphicstypes::TTMSFNCGraphicsColor __fastcall RGBToGraphicsColor(int R, int G, int B);

Parameters

Name Description
R Red channel (0–255).
G Green channel (0–255).
B Blue channel (0–255).

Returns

The composed color value.