From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74154 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Colourspace Date: Thu, 18 Nov 2010 12:49:23 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87pqu2cvrg.fsf@lifelogs.com> References: <87pquvldcs.fsf@lifelogs.com> <87oc9yp21w.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1290106291 27387 80.91.229.12 (18 Nov 2010 18:51:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Nov 2010 18:51:31 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22519@lists.math.uh.edu Thu Nov 18 19:51:18 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PJ9Zl-0001h3-4j for ding-account@gmane.org; Thu, 18 Nov 2010 19:51:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PJ9YB-0005qy-Tm; Thu, 18 Nov 2010 12:49:39 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PJ9YA-0005qm-IH for ding@lists.math.uh.edu; Thu, 18 Nov 2010 12:49:38 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PJ9Y5-0007Eu-VE for ding@lists.math.uh.edu; Thu, 18 Nov 2010 12:49:37 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PJ9Y5-0002we-00 for ; Thu, 18 Nov 2010 19:49:33 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PJ9Y5-0000R0-5B for ding@gnus.org; Thu, 18 Nov 2010 19:49:33 +0100 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Nov 2010 19:49:33 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Nov 2010 19:49:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:oheKW0dFVC75QJqB1OYYv+xr/Xo= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74154 Archived-At: On Wed, 10 Nov 2010 18:49:56 +0100 Lars Magne Ingebrigtsen wrote: LMI> Julien Danjou writes: >> I'm pretty sure there's a easy way to light or dark a color using its >> HSV representation and increasing/decreasing it's saturation and value. >> >> I can dig a bit and come up with some code if you want. :) LMI> Yes, that would be great. And if there's a way to, er, ensure the LMI> "distance" between two colours -- one colour would be constant (the LMI> background colour), and one would be altered to have sufficient distance LMI> to be readable, but still retain something of its colour. LMI> It may be difficult to do generally (I mean, trying to make pink LMI> readable on a red background sounds hard), but it'd totally rock. :-) I remembered a good resource for color matching: http://colorschemedesigner.com The source code is JavaScript and so you can look at http://colorschemedesigner.com/js/colorschemedesigner.js. It has the whitespace removed but is otherwise readable. There is a "Colorblind" menu which tells you the percentages of the population that have some type of it and lets you test color schemes quickly as if you had that type of color blindness. Ted