• ignirtoq@fedia.io
    link
    fedilink
    arrow-up
    54
    ·
    2 days ago

    Line graphs of percentages not based at zero make it difficult for me to grok the magnitude of changes. Missed opportunity for the hue line color to match the actual hue in the vertical. Just being an angle value I have no idea what hue it’s supposed to be.

        • Ephera@lemmy.ml
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 day ago

          Not a colorololologist either, but I’m guessing, you scan it and then calculate the average of the individual pixels. You can convert RGB color values to HSV color values to get the hue, saturation and value.

          But calculating the average of the hue degrees (like was done for this post) is non-sense.
          0° is red, as is 360°, so you get completely different averages, depending on how you calculate them:

          • (0°+120°+240°) / 3 → 120° (green)
          • (360°+120°+240°) / 3 → 240° (blue)