ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 949 more named colors
@ 2010-08-08 14:08 Philipp Gesang
  0 siblings, 0 replies; only message in thread
From: Philipp Gesang @ 2010-08-08 14:08 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1265 bytes --]

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 #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-08 14:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-08 14:08 949 more named colors Philipp Gesang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).