Proper color names from colordialog

Posted by Mike on Stack Overflow See other posts from Stack Overflow or by Mike
Published on 2010-06-01T19:58:24Z Indexed on 2010/06/01 20:03 UTC
Read the original article Hit count: 207

Whenever I run this, and open the color dialog, there are many colors that do not having a proper name, the listbox will show something like "ffff8000"(Orange-Yellow). Is there another way of pushing the proper name? Is there a proper Color Name library I can reference in code?

   colorDialog1.ShowDialog();
    cl.Add(colorDialog1.Color.Name);   
    listBox1.Items.AddRange(cl.ToArray());

© Stack Overflow or respective owner

Related posts about winforms

Related posts about naming-conventions