From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: 74055@debbugs.gnu.org
Subject: bug#74055: 31.0.50; color-lighten-name not lightening black
Date: Mon, 28 Oct 2024 09:27:29 +0100 [thread overview]
Message-ID: <m2wmhsk4y6.fsf@gmail.com> (raw)
The function color-lighten-name doesn't work as I would expect for
black:
(color-lighten-name "#000000" 50)
=> "#000000000000"
I think there is even a test that checks that, in color-tests.el:
(ert-deftest color-tests-lighten-name ()
(should (equal (color-lighten-name "black" 100) "#000000000000"))
I don't understand this, and it is different from what I'd expect, and
tools for the web return, for example
https://mdigi.tools/lighten-color/#000000
In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.0.0, NS
appkit-2566.00 Version 15.0.1 (Build 24A348)) of 2024-10-28 built on
pro2
Repository revision: ea685170063b59855322ceffdeaaab4acaf8e388
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2566
System Description: macOS 15.0.1
next reply other threads:[~2024-10-28 8:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-28 8:27 Gerd Möllmann [this message]
2024-10-28 12:39 ` bug#74055: 31.0.50; color-lighten-name not lightening black Eli Zaretskii
2024-10-28 15:18 ` Ship Mints
2024-10-28 16:57 ` Mattias Engdegård
2024-10-28 17:24 ` Eli Zaretskii
2024-10-29 4:41 ` Gerd Möllmann
2024-10-29 8:25 ` Gerd Möllmann
2024-10-29 12:54 ` Mattias Engdegård
2024-10-29 18:27 ` Gerd Möllmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2wmhsk4y6.fsf@gmail.com \
--to=gerd.moellmann@gmail.com \
--cc=74055@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).