| Namespace | tinymce.html | 
| Class | Styles | 
| Method | Defined By | 
|---|---|
| 
parse(css:String):Object Parses the specified style value into an object collection. | Styles | 
| 
serialize(styles:Object, element_name:String):String Serializes the specified style object into a string. | Styles | 
| 
toHex(color:String):String Parses the specified RGB color value and returns a hex version of that color. | Styles | 
public 
						function parse(css:String):Object
| css:String | Style value to parse for example: border:1px solid red;. | 
public 
						function serialize(styles:Object, element_name:String):String
| styles:Object | Object to serialize as string for example: {border : '1px solid red'} | 
| element_name:String | Optional element name, if specified only the styles that matches the schema will be serialized. | 
public 
						function toHex(color:String):String
| color:String | RGB string value like rgb(1,2,3) |