It appears Qt is using different policy when convert color component.
In most of the code it is using qRound to calculate different component, but for integral value it is using floor to get the component (in unsigned short fixed point). That result in some weird result, for example:
as you can see 35.8521 becomes 35, while 152.848 becomes 153
|For Gerrit Dashboard: QTBUG-84168|
|300142,4||Do a proper convert from [0-65535] to [0-255] on QColor integer reads||dev||qt/qtbase||Status: MERGED||+2||0|
|302112,2||Do a proper convert from [0-65535] to [0-255] on QColor integer reads||5.15||qt/qtbase||Status: MERGED||+2||0|