LibreOffice 7.1 Bantuan
Returns a Long integer color value consisting of red, green, and blue components.
RGB (Merah, Hijau, Biru)
Long
Red: Ekspresi integer apa pun yang mewakili komponen merah (0-255) dari warna komposit.
Green: Ekspresi integer apa pun yang mewakili komponen hijau (0-255) dari warna komposit.
Blue: Ekspresi integer apa pun yang mewakili komponen biru (0-255) dari warna komposit.
The color picker dialog helps computing red, green and blue components of a composite color. 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 "Warnanya " & lVar & " terdiri atas:" & Chr(13) &_
"merah= " & red(lVar) & Chr(13)&_
"hijau= " & green(lVar) & Chr(13)&_
"biru= " & blue(lVar) & Chr(13) , 64,"colors"
End Sub