dualfroz caf059eba7 fix(convert): zero-pad each channel in RgbToHex
RgbToHex emitted a single hex digit for channel values below 0x10 because
strconv.FormatInt produces the minimal representation. This broke the
fixed-width hex format, the round-trip with HexToRgb, and the hex2basicMap
fast path in Rgb2basic. Format each channel with %02x, matching RgbTo256.
2026-09-06 00:44:29 +02:00
S
Description
My contributions to gookit/color: 3 commits, 1 merged PRs
82 KiB
0 Stars 1 Watchers 0 Forks
Languages
Go 100%