Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 13.0 (home page, current version)Version 12.0 (home page)Version 11.0 (home page)Version 10.0 (home page)Version 9.0 (home page)Version 8.0Version 7.0 (home page)Version 6.0 (home page)Version 5.0 (home page)Version 4.0 (home page)

Index

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.