[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question: How does color-lighten-name work?

From: Pedro Andres Aranda Gutierrez
Subject: Question: How does color-lighten-name work?
Date: Fri, 28 Oct 2022 08:23:16 +0200

Hi folks,

I'm a bit puzzled with color-lighten-name...

This simple code:

(require 'color)
(let ((newbg "#102030"))
  (message "newbg: %s" newbg)
  (setq newbg (color-lighten-name newbg 10))
  (message "newbg: %s" newbg))

evaluated in the *scratch* buffer. will print the following:

newbg: #102030
newbg: #11ab23563501

Shouldn't the second colour spec have only 3 bytes?

Thanks for any enlightenment, because the docstrings are frugal
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet

reply via email to

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