Table of Contents

TTMSFNCCustomColorWheel.RGBToGraphicsColor Method

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

API unit family: TMSFNCColorWheel Declaring type: TTMSFNCCustomColorWheel

Syntax

function RGBToGraphicsColor(R, G, B: Integer): TTMSFNCGraphicsColor;

Parameters

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

Returns

The composed color value.