question: protected String colorToRGB ( final Color color ) { return String . format ( "#%02x%02x%02x" , color . getRed ( ) , color . getGreen ( ) , color . getBlue ( ) ) ; }
target:  Convert a color to a CSS color attribute value.