LibreOffice 7.3 Help
Retourneert de rode component van de opgegeven samengestelde kleurcode.
Red (ColorNumber As Long)
Integer
ColorNumber: Lange integer expressie die elke samengestelde kleurcode specificeert waarvoor de component Rood moet worden geretourneerd.
The color picker dialog details the red, green and blue components of a composite color code, as well as its hexadecimal expression. Changing the color of text and selecting Custom color displays the color picker dialog.
Sub ExampleColor
Dim lVar As Long
lVar = rgb(128,0,200)
MsgBox "De kleur " & lVar & " bevat de componenten:" & Chr(13) &_
"rood= " & Red(lVar) & Chr(13)&_
"groen= " & Green(lVar) & Chr(13)&_
"blauw= " & Blue(lVar) & Chr(13), 64,"Kleuren"
End Sub