toDisplay

Returns the color in the best notation supported by the current browser. In IE < 9 this returns the #FF0000 form; in all other browsers it returns the RGBA form.

Returns

String The color in the best notation supported by the current browser.

In this article
Not finding the help you need? Improve this article