Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
Visio 2007
Functions
 LUM Function
Community Content
In this section
Statistics Annotations (0)
LUM Function

Returns the value of a color's luminosity component.

Syntax

LUM(expression)

Remarks

The return value is a number in the range 0 to 240, inclusive. The input is an index of a color in the document's color table, or a reference to a cell that contains a color index. The function returns 0 for invalid input.

Example 1

LUM(Sheet.4!FillForegnd)

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

Example 2

LUM(6)

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

Example 3

LUM(HSL(10, 20, 30))

Returns 30.



Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker