[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

Red

Finds the Red component of the supplied colour

Declaration

Source position: graphics.pp line 1890

function Red(

  rgb: TColor

):Byte;

Arguments

rgb

  

The colour for processing, expressed as RGB

Function result

Returns the Red component of the colour specified in RGB

The latest version of this document can be found at lazarus-ccr.sourceforge.net.