You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 lines
154 B

  1. #pragma once
  2. /*
  3. * Primary color hues:
  4. * blue: 0 degrees
  5. * red: 120 degrees
  6. * green: 240 degrees
  7. */
  8. int hls_to_rgb(int hue, int lum, int sat);