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

QSS hsv percentages do not use full hue range

    XMLWordPrintable

Details

    • aaae0274353544bba9f6eb50ded6c9ffd040dc18 (qt/qtbase/dev)

    Description

      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.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-70897
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes