    Contents  Index  Topic Contents
    Previous Topic: DACamera Class
    Next Topic: DADashStyle Class

> ## DAColor Class

> A DAColor is an object that represents a color behavior (this is an animated color, or a color whose value can change over time). At any given time, the value of the object is a color value that represents a specific color. Each color value consists of a combination of component values that specify either red, green and blue intensity or hue, saturation, and lightness.

> Because component values can be animated numbers (DANumber objects), the value of the DAColor object can change over time as the animated numbers change.

> This class inherits from DABehavior.

> - DAColor Properties
> - Relevant Functions from the DAStatics Class
> - Relevant Properties from the DAStatics Class

> ### DAColor Properties

> Blue

> Green

> Hue

> Lightness

> Red

> Saturation

> ####

> Blue

> DAColor Class

> A read-only property with a DANumber value that represents the value of the blue component of the colorObj.

> colorObj.Blue

> ##### See Also

> Red, Green

> ####

> Green

> DAColor Class

> A read-only property with a DANumber value that represents the value of the green component of colorObj.

> colorObj.Green

> ##### See Also

> Red, Blue

> ####

> Hue

> DAColor Class

> A read-only property with a DANumber value that represents the value of the hue of colorObj.

> colorObj.Hue

> ##### See Also

> Lightness, Saturation

> ####

> Lightness

> DAColor Class

> A read-only property with a DANumber value that represents the value of the lightness of colorObj.

> colorObj.Lightness

> ##### See Also

> Hue, Saturation

> ####

> Red

> DAColor Class

> A read-only property with a DANumber value that represents the value of the red component of colorObj.

> colorObj.Red

> ##### See Also

> Green, Blue

> ####

> Saturation

> DAColor Class

> A read-only property with a DANumber value that represents the value of the saturation of colorObj.

> colorObj.Saturation

> ##### See Also

> Hue, Lightness

> ### Relevant Functions from the DAStatics Class

> The following functions are defined in the DAStatics class and are most relevant to objects of type DAColor:

> lib.ColorHsl(h, s, l)

> lib.ColorHslAnim(h, s, l)

> lib.ColorRgb(r, g, b)

> lib.ColorRgbAnim(r, g, b)

> lib.ColorRgb255(r, g, b)

> ### Relevant Properties from the DAStatics Class

> The following properties are defined in the DAStatics class and are most relevant to objects of type DAColor:

> lib.Aqua

> lib.Black

> lib.Blue

> lib.Cyan

> lib.Fuchsia

> lib.Gray

> lib.Green

> lib.Lime

> lib.Magenta

> lib.Maroon

> lib.Navy

> lib.Olive

> lib.Purple

> lib.Red

> lib.Silver

> lib.Teal

> lib.White

> lib.Yellow

> © 1998 Microsoft Corporation. All rights reserved. Terms of Use.

> Top of Page