[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RGB to HSL conversion

From: Bryan Christ
Subject: RGB to HSL conversion
Date: Thu, 10 Jan 2019 10:38:54 -0600

I've been looking at a lot of code samples for converting RGB to HSL.  It looks like most examples assume an RGB range of 0 - 255 whereas ncurses assumes a range of 0 - 1000.  Would it be reasonable to simply take the ncurses RGB values and multiply them by 0.25 to use them elsewhere?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]