colors documentation


I was just peeking through the code for hsv_to_rgb() and rgb_to_hsv() and found that they were lacking in comments. While I haven’t quite figured out hsv_to_rgb() and there are some missing documentation regarding how hsv is represented, I figured that I should make available what I could figure out for rgb_to_hsv(). Attached is a patch that would comment the two functions. Please feel free to add to this if you have extra knowledge that is relevant.

Ben Root

colors_comments.patch (1.86 KB)