Jump to content

User:BZAW31559/sandbox/Memory Radar/colors

From Wikipedia, the free encyclopedia

This page introduces the Memory Radar for the colors. The Memory Radar has four values: Relative luminance, CIELAB brightness, YPbPr luma, and subtotal values.

Notes

[edit]
  • This is NOT official feature.
  • The Memory Radar values cannot exceed 255. In other cases, having the calculated Memory Radar value exceeds 255 makes the Memory Radar value 255.
  • For the Memory Radar value rating can be seen below:
    • No rating: the Memory Radar value NaN
    • Level 1: 0 – 24 points
    • Level 2: 25 – 49 points
    • Level 3: 50 – 74 points
    • Level 4: 75 – 99 points
    • Level 5: 100 – 124 points
    • Level 6: 125 – 149 points
    • Level 7: 150 – 174 points
    • Level 8: 175 – 199 points
    • Level 9: 200 – 254 points
    • Level 10: 255 points or having 255 points via calculating Memory Radar value to make the Memory Radar value 255

Relative luminance

[edit]

It is possible to calculate by:

relative luminance × 255

Therefore:

  • #000000 = 0 × 255 = 0;
  • #0000FF = 0.0722 × 255 = 18.411 ≈ 18;
  • #FF0000 = 0.2126 × 255 = 54.213 ≈ 54;
  • #FF00FF = (0.2126 + 0.0722) × 255 = 0.2848 × 255 = 72.624 ≈ 73;
  • #00FF00 = 0.7152 × 255 = 182.376 ≈ 182;
  • #00FFFF = (0.7152 + 0.0722) × 255 = 0.7874 × 255 = 200.787 ≈ 201;
  • and finally: #FFFFFF = 1 × 255 = 255.