From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: cieluv <-> rgb conversion Date: Fri, 31 Jul 2009 15:45:07 -0700 Message-ID: <87746D765FEB4107A5A37140C29370D1@us.oracle.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249080351 17650 80.91.229.12 (31 Jul 2009 22:45:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2009 22:45:51 +0000 (UTC) To: "'Lennart Borgman'" , "'emacs help'" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 01 00:45:44 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MX0r7-0004Uy-V3 for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Aug 2009 00:45:42 +0200 Original-Received: from localhost ([127.0.0.1]:33876 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MX0r7-0006fY-G9 for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 18:45:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MX0qj-0006eo-Fl for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 18:45:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MX0qe-0006dO-Uj for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 18:45:17 -0400 Original-Received: from [199.232.76.173] (port=37968 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MX0qe-0006dH-QK for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 18:45:12 -0400 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:39335) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MX0qe-0004ri-AW for help-gnu-emacs@gnu.org; Fri, 31 Jul 2009 18:45:12 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6VMjT9D020247 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 31 Jul 2009 22:45:30 GMT Original-Received: from abhmt006.oracle.com (abhmt006.oracle.com [141.146.116.15]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6VMjNbh024939; Fri, 31 Jul 2009 22:45:23 GMT Original-Received: from dradamslap1 (/141.144.98.141) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 31 Jul 2009 15:45:04 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcoSLXBGYsOv4PoMScmYCQHafcyp3wAAd+PQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt006.oracle.com [141.146.116.15] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010207.4A7373F1.0125:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66594 Archived-At: > Anyone have algorithms in elisp for color conversions cieluv <-> rgb? Dunno. But HSV is perhaps close enough? If so: http://www.emacswiki.org/cgi-bin/wiki/hexrgb.el Even if not, you can probably adapt the code there by adapting the HSV <-> RGB conversion algorithms.