[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: face at point
From: |
Fredrik Staxeng |
Subject: |
Re: face at point |
Date: |
18 Nov 2002 19:16:14 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 |
Oliver Scholz <alkibiades@gmx.de> writes:
>Fredrik Staxeng <fstx+u@update.uu.se> writes:
>[...]
>> By the way, I found a way to get the rgb components from a color in Emacs.
>> Is there a way to make a color from three RGB values? The idea is to
>> take the color apart, scale the components to make the color darker,
>> and then put a set-face-forground in my .emacs.
>
>;; R G B
>(set-face-foreground 'default "#234ff3")
Of course. And the string can be done with
(format "#%02x%02x%02x" 35 79 243)
Thanks for taking the time to point out the obvious to me.
--
Fredrik Stax\"ang | rot13: sfgk@hcqngr.hh.fr
- Re: face at point, (continued)
- Message not available
- Re: face at point, Tim Cross, 2002/11/17
- Re: face at point, Miles Bader, 2002/11/17
- Re: face at point, Eli Zaretskii, 2002/11/18
- Message not available
- Re: face at point, Fredrik Staxeng, 2002/11/19
- Re: face at point, Eli Zaretskii, 2002/11/19
- Re: face at point, Miles Bader, 2002/11/19
- Re: face at point, Kai Großjohann, 2002/11/19
- Message not available
- Re: face at point, Tim Cross, 2002/11/18
- Re: face at point, Jesper Harder, 2002/11/18
- Re: face at point, Miles Bader, 2002/11/18
- Re: face at point, Miles Bader, 2002/11/18
- Re: face at point, Eli Zaretskii, 2002/11/19