TinyMCE:API/tinymce.dom.DOMUtils/toHex

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Method: toHex

Summary

Parses the specified RGB color value and returns a hex version of that color.

Syntax

<String> toHex(<String> s)

Parameters

s
RGB string value like rgb(1,2,3)

Returns

Hex version of that RGB value like #FF00FF.

Personal tools