Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit fddeba0

Browse files
committed
Update represent bytes
1 parent 757b954 commit fddeba0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/util/settings/theme.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ QColor chunkBackground(int color_index) {
9797

9898
QColor byteColor(uint8_t byte) {
9999
QColor color = util::settings::hexedit::colorOfBytes();
100-
return color.darker(100 + (0x100 - byte) * 200 / 255);
100+
return QColor::fromHsv(color.hue(), color.saturation(), 50 + byte * (220 - 50) / 256);
101101
}
102102

103103
QFont font() {

0 commit comments

Comments
 (0)