summaryrefslogtreecommitdiff
path: root/color.c
diff options
context:
space:
mode:
Diffstat (limited to 'color.c')
-rw-r--r--color.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/color.c b/color.c
index cdd089f..6ba23e3 100644
--- a/color.c
+++ b/color.c
@@ -9,6 +9,10 @@
#include "internal.h"
/*
+ * see also “The Importance of Being Linear”, Gritz and d'Eon, GPU Gems 3, Ch. 24, December 2007
+ */
+
+/*
* generated with:
* % seq 0 255 | awk '{$0 = $0/255; if($0 > 0.04045) $0 = (($0+0.055)/1.055)^2.4; else $0 = $0/12.92; printf("\t0x%02X,%s", int($0*255+0.5), NR%8 == 0? "\n": "")}'
*/