[Top][All Lists]

[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 <> writes:

>Fredrik Staxeng <> 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:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]