TINY BLOG > Important changes to Tiny Cloud pricing > Find out more
Return to Tiny.cloud

force_hex_style_colors

Contribute to this page

This option enables you to control TinyMCE to force the color format to use hexadecimal instead of rgb strings. It converts for example "color: rgb(255, 255, 0)" to "#FFFF00". This option is set to true by default since otherwise MSIE and Firefox would differ in this behavior.

Example of usage of the force_hex_style_colors option:

tinyMCE.init({
    ...
    force_hex_style_colors : false
});

Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.