Keyboard Support

Contact and Search Homepage

Header bottom

Other versions
Version 8.0


On this page

Function: rgba

Browser-independent alpha-channel management.

Parameters: Object reference (HTML element), number (red), number (green), number (blue), number (opacity)

Returns: string (background color CSS value)

Note: This function returns the required string value for setting background transparency, and applies an appropriate a filter to the element for IE6.