SyfSchydea / New-Horizons-Pattern-Generator

Takes an image and outputs a New Horizons pattern
3 stars 0 forks source link

Verify NH's colour palette #19

Closed SyfSchydea closed 4 years ago

SyfSchydea commented 4 years ago

Take some screenshots of the NH palette map to verify that the HSV values map as I've assumed they do. If they don't match up, update the script to make conversions more accurate.

SyfSchydea commented 4 years ago

Hue seems accurate.

Saturation seems to go from 0 to ~97-97.5%. Only tested this at max brightness. Verify this for lower brightnesses.

Brightness seems to go from ~4.5-5% to ~90%. Tested at various hue/saturation values.

SyfSchydea commented 4 years ago

Max saturation seems to change with brightness/value. At brightness=7 and below, max saturation is roughly 100%. Between brightness=7 and brightness=14, the max saturation decreases from ~100% to ~97.5%.

This was tested on Hue=18 (blue/cyan). Test this on a few more hues before writing this stuff into code.

SyfSchydea commented 4 years ago

Weird relationship between brightness and max saturation seems consistent across hue values.