API Reference
Class
EmailColor
Internal utilities for normalizing color inputs across components. Ensures hex colors are prefixed with '#', and strips accidental quotes/HTML entities.
Inheritance
- Object
- EmailColor
Methods
Normalize(System.String arg1) #Normalizes a color value to a safe inline-CSS form. - Unwraps " / \" / ' around hex - Adds a leading '#' to 3/6-digit hex values Returns the original string if it does not resemble a hex color.
Parameters
- arg1 System.String