return null;
if ( val.startsWith( "#" ) ) { int rgb = ColorUtil.parseColor( val );  if ( rgb != -1 ) { return getRGBValue( rgb ); } } else { String[] ss = val.split( "," ); if ( ss.length == 3 ) { try { int r = Integer.parseInt( ss[0] ); int g = Integer.parseInt( ss[1] ); int b = Integer.parseInt( ss[2] );  return new RGB( r, g, b ); } catch ( NumberFormatException e ) { return null; } } }
	public static RGB getRGBValue( int rgbValue )	{		if ( rgbValue == -1 )		{			return null;		}		return new RGB( ( rgbValue >> 16 ) & 0xff,				( rgbValue >> 8 ) & 0xff,				rgbValue & 0xff );	}