public static String expandShorthandHexSingle ( String color ) { validateHexSingle ( color ) ; if ( color . length ( ) == 1 ) { color += color ; } return color ; }
Expand the hex single if it is in shorthand