Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 8.0

Index

On this page

You are viewing documentation of version 8.0, which is not included in the latest version. Click here to open the index page for version 18.0.

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.