Export (0) Print
Expand All
Expand Minimize

LUM Function

Published: July 16, 2012

Returns the value of a color's luminosity component.

LUM(expression)

Parameters

Name

Required/Optional

Data Type

Description

expression

Required

Numeric

The index of a color in the document's color table, or a reference to a cell that contains a color index.

Return Value

Number

The return value is a number in the range 0 to 240, inclusive. The function returns 0 for invalid input.

LUM(Sheet.4!FillForegnd)

Returns the luminosity of Sheet.4's fill foreground color.

LUM(6)

Returns 120 if the document uses the default Visio color palette, where magenta is the color at index 6.

LUM(HSL(10, 20, 30))

Returns 30.

Community Additions

ADD
Show:
© 2014 Microsoft