StartColor

HTML (DHTML)

StartColor Property

Internet Development Index

Sets or retrieves the initial opaque color for a gradient surface.

Syntax

HTML
N/A
Scripting
object.filters.item(
    "DXImageTransform.Microsoft.Gradient").StartColor [ = sColor ]

Possible Values

sColorInteger that specifies or receives the color value that can range from 0 (transparent) to 4294967295 (opaque white).

The property is read/write. The property has no default value.

Remarks

When you set the EndColor property value in script, it can be expressed in hexadecimal 0xAARRGGBB format.

  • AA is the alpha value from 00 to FF
  • RR is the red hexadecimal value from 00 to FF
  • GG is the green hexadecimal value from 00 to FF
  • BB is the blue hexadecimal value from 00 to FF
The integer conversion of the hexidecimal value is also valid.

Note  HTML declaration of the EndColor property only permits an integer value.

Applies To

Gradient