[Top][All Lists]

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

bug#25890: `color-values` gives wrong value

From: Drew Adams
Subject: bug#25890: `color-values` gives wrong value
Date: Fri, 3 Mar 2017 13:18:12 -0800 (PST)

> > Are you saying that hex conversion of decimal 57568 should not be
> > E0E0?
> No.

Not very helpful.  It's not clear what you think is incorrect
in hexrgb.el, in that case.

You said:

> The bug is in hexrgb-int-to-hex: it incorrectly assumes that it should
> produce the LSB part of the number, while it actually should produce
> the MSB part.

`hexrgb-int-to-hex' just converts integer RGB to hex RGB.
And it converts integer 57568 to E0E0, which you now agree
is correct.

Perhaps you can elaborate a bit on what you think the bug is?

reply via email to

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