Funkcja Blue
Returns the blue component of the specified composite color code.
Składnia:
Blue (kolor As Long)
Zwracana wartość:
Liczba całkowita
Parametr:
Color value: Long integer expression that specifies any composite color code for which to return the blue component.
Przykład:
Sub ExampleColor
Dim lVar As Long
lVar = rgb(128,0,200)
MsgBox "Kolor " & lVar & " składa się z kolorów:" & Chr(13) &_
"czerwony = " & Red(lVar) & Chr(13)&_
"zielony = " & Green(lVar) & Chr(13)&_
"niebieski = " & Blue(lVar) & Chr(13) , 64,""
End Sub