Hi,

I've put up a small script that generates color definitions from Randall
Munroe's color survey for use with ConTeXt.[1] This yields 949 more rgb
colors that might be more adequately labeled than e.g. those from X11.

You can find it at < http://bitbucket.org/phg/xcs-colors/ >

From the usage notes:

--8<---------------------------------------------------------------------------

[1] Go somewhere safe, where you have writing permissions.

[2] texlua conv.lua > colo-xcs.tex

[3] For a preview, create a file “testcol.tex” with your favourite editor:

···· FILE testcol.tex ·························································
\setupcolor[xcs]
\setupcolors[state=start]

\starttext
\showcolor[xcs]
\stoptext
····· END testcol.tex ·························································

[4] context testcol.tex

--8<---------------------------------------------------------------------------

Have fun,

Philipp


[1] http://blog.xkcd.com/2010/05/03/color-survey-results/
-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Attachment: pgpLLOOb0U7aM.pgp
Description: PGP signature

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to