public void setColor ( String color ) { setRed ( ColorUtils . getRed ( color ) ) ; setGreen ( ColorUtils . getGreen ( color ) ) ; setBlue ( ColorUtils . getBlue ( color ) ) ; String alpha = ColorUtils . getAlpha ( color ) ; if ( alpha != null ) { setAlpha ( alpha ) ; } }
Set the color in hex