Closed SquidPony closed 6 years ago
On it! I have a test that generates the documented color code, it probably just needs to be updated.
Old RED_BEAN color:
/**
* Color constant<PRE>
* <font style='background-color: #672422; color: #000000'> </font><font style='background-color: #000000; color: #000000'> </font><font style='background-color: #888888; color: #000000'> </font><font style='background-color: #ffffff; color: #000000'> </font><font style='background-color: #672422; color: #000000'> @ </font>
* <font style='background-color: #672422; color: #672422'> </font><font style='background-color: #000000;'> @ </font><font style='background-color: #888888;'> @ </font><font style='background-color: #ffffff;'> @ </font><font style='background-color: #672422; color: #888888'> @ </font>
* <font style='background-color: #672422; color: #000000'> </font><font style='background-color: #000000; color: #000000'> </font><font style='background-color: #888888; color: #000000'> </font><font style='background-color: #ffffff; color: #000000'> </font><font style='background-color: #672422; color: #ffffff'> @ </font>
* <p>
* <font style='background-color: #ff0000; color: #000000'> </font><font style='background-color: #ffff00; color: #000000'> </font><font style='background-color: #00ff00; color: #000000'> </font><font style='background-color: #0000ff; color: #000000'> </font><font style='background-color: #964b00; color: #000000'> </font>
* <font style='background-color: #ff0000; color: #672422'> @ </font><font style='background-color: #ffff00;'> @ </font><font style='background-color: #00ff00;'> @ </font><font style='background-color: #0000ff;'> @ </font><font style='background-color: #964b00;'> @ </font>
* <font style='background-color: #ff0000; color: #000000'> </font><font style='background-color: #ffff00; color: #000000'> </font><font style='background-color: #00ff00; color: #000000'> </font><font style='background-color: #0000ff; color: #000000'> </font><font style='background-color: #964b00; color: #000000'> </font></PRE>
*/
public static final SColor RED_BEAN = new SColor(0x672422, "Red Bean");
New RED_BEAN color:
/**
* This color constant "Red Bean" has RGB code 0x672422, hue 0.0048309565, saturation 0.66990286, and value 0.40392157.
* <pre>
* <font style='background-color: #672422; color: #000000'> </font><font style='background-color: #000000; color: #000000'> </font><font style='background-color: #888888; color: #000000'> </font><font style='background-color: #ffffff; color: #000000'> </font><font style='background-color: #672422; color: #000000'> @ </font>
* <font style='background-color: #672422; color: #000000'> </font><font style='background-color: #000000; color: #672422'> @ </font><font style='background-color: #888888; color: #672422'> @ </font><font style='background-color: #ffffff; color: #672422'> @ </font><font style='background-color: #672422; color: #888888'> @ </font>
* <font style='background-color: #672422; color: #000000'> </font><font style='background-color: #000000; color: #000000'> </font><font style='background-color: #888888; color: #000000'> </font><font style='background-color: #ffffff; color: #000000'> </font><font style='background-color: #672422; color: #ffffff'> @ </font>
* <br>
* <font style='background-color: #ff0000; color: #000000'> </font><font style='background-color: #ffff00; color: #000000'> </font><font style='background-color: #00ff00; color: #000000'> </font><font style='background-color: #0000ff; color: #000000'> </font><font style='background-color: #964b00; color: #000000'> </font>
* <font style='background-color: #ff0000; color: #672422'> @ </font><font style='background-color: #ffff00; color: #672422'> @ </font><font style='background-color: #00ff00; color: #672422'> @ </font><font style='background-color: #0000ff; color: #672422'> @ </font><font style='background-color: #964b00; color: #672422'> @ </font>
* <font style='background-color: #ff0000; color: #000000'> </font><font style='background-color: #ffff00; color: #000000'> </font><font style='background-color: #00ff00; color: #000000'> </font><font style='background-color: #0000ff; color: #000000'> </font><font style='background-color: #964b00; color: #000000'> </font></pre>
*/
public static final SColor RED_BEAN = new SColor(0x672422, "Red Bean");
A bit more useful information, right?
nice!
The @ symbol in the middle three blocks should be the color of the Color
Example where it's the Color
Example where it's black instead: