Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I found this thread via mKorbel's link to my <a href="http://r0k.us/graphics/SIHwheel.html" rel="nofollow">Interactive Color Wheel</a>. The applet includes a Java port and extension of Chirag Mehta's <a href="http://chir.ag/projects/name-that-color/" rel="nofollow">Name That Color</a> Javascript library. Since I eventually added the ability to have multiple color name dictionaries, I removed the actual hex/name pairs from the source code and added them as properties files. You only need the first two files if all you want is Chirag's color name dictionary (a mishmash of several smaller dictionaries).</p> <ul> <li><a href="http://r0k.us/source/NTC.java" rel="nofollow">http://r0k.us/source/NTC.java</a></li> <li><a href="http://r0k.us/source/cnd_ntc.properties" rel="nofollow">http://r0k.us/source/cnd_ntc.properties</a></li> <li><a href="http://r0k.us/source/cnd_crayola.properties" rel="nofollow">http://r0k.us/source/cnd_crayola.properties</a></li> <li><a href="http://r0k.us/source/cnd_resene2010.properties" rel="nofollow">http://r0k.us/source/cnd_resene2010.properties</a></li> <li><a href="http://r0k.us/source/cnd_w3c.properties" rel="nofollow">http://r0k.us/source/cnd_w3c.properties</a></li> </ul> <p><code>NTC.java</code> is written with a <code>main()</code> method so that it can be tested standalone in a command shell:</p> <pre> >java us.r0k.ntc.NTC 28f369 > #0BDA51, Malachite, false </pre> <p>The first value is the closest hex to the desired hex, second is the color name for that value, and third indicates that no exact match was found.</p> <p>You can also specify a second parameter, the name of the color name dictionary (which defaults to "cnd_ntc.properties").</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload