public class ThemeUtils extends Object
| Constructor and Description |
|---|
ThemeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
validateHexColor(String input)
Validates a hex color input value.
|
public static String validateHexColor(String input)
The output color will always being with a "#", however the input can optionally start with a "#"
If the input is not a valid RGB color it will return #FFFFFF
input - a RGB color in the format "#RGB", "#RRGGBB", "RGB", or "RRGGBB"Copyright © 2015 Atlassian. All rights reserved.