Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Returns the blue component of a color. The return value is an integer in the range of 0 to 255, inclusive. The function returns 0 for invalid input.
Syntax
BLUE(expression )
Parameters
| Name | Required/Optional | Data Type | Description |
|---|---|---|---|
| expression |
Required |
String |
An index of a color in the document's color table, an expression that resolves to a custom color (like RGB or HSL), or a reference to a cell that contains a color index or color result. |
Return value
Integer
Example 1
BLUE(Sheet.4!FillForegnd)
Returns the blue component of Sheet.4's fill foreground color.
Example 2
BLUE(13)
Returns 128 if the document uses the default Visio color palette, where cyan is the color at index 13.
Example 3
BLUE(RGB(10, 20, 30))
Returns 30.