mbColorLib: Fix display of hex color value in hint windows.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8620 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2022-11-13 22:22:53 +00:00
parent 323744eaff
commit 1e79d006f9

View File

@ -99,7 +99,7 @@ begin
ColorToHSL(c, hslH, hslS, hslL);
ColorToHSV(c, hsvH, hsvS, hsvV);
h := AnsiReplaceText(fmt, '%hex', '#' + ColorToHex(c));
h := AnsiReplaceText(fmt, '%hex', ColorToHex(c));
h := AnsiReplaceText(h, '%cieL', IntToStr(Round(GetCIElValue(c))));
h := AnsiReplaceText(h, '%cieA', IntToStr(Round(GetCIEaValue(c))));
h := AnsiReplaceText(h, '%cieB', IntToStr(Round(GetCIEbValue(c))));