Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-70897

QSS hsv percentages do not use full hue range

XMLWordPrintable

    • aaae0274353544bba9f6eb50ded6c9ffd040dc18 (qt/qtbase/dev)

      Hue can range from 0 to 359. However, the parser for HSV colors in style sheets always assumes 255 is the max when given a percentage.

       

      This means that hsv(100%, 100%, 100%) is equivalent to hsv(255, 255, 255) rather than hsv(359, 255, 255). hsv(140%, 100%, 100%) does give the desired effect, but that seems a little weird.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            chehrlic Christian Ehrlicher
            rcorre Ryan Roden-Corrent
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes