mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-24 09:05:48 -04:00
sixel: add HLS color format support
This commit is contained in:
parent
7985cefd65
commit
f96eb5ff07
4 changed files with 132 additions and 2 deletions
9
sixel-hls.h
Normal file
9
sixel-hls.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
/*
|
||||
* Primary color hues:
|
||||
* blue: 0 degrees
|
||||
* red: 120 degrees
|
||||
* green: 240 degrees
|
||||
*/
|
||||
int hls_to_rgb(int hue, int lum, int sat);
|
||||
Loading…
Add table
Add a link
Reference in a new issue