Sawfish
Scripts quick access edit this

Synopsis[]

Convert HSV to RGB.

Description[]

HSV to RGB conversion.

The HSV to RGB translations implemented here are based upon the descriptions in Computer Graphics: Principles and Practice by Foley, van Dam, Feiner, and Hughes.

The module provides the following functions:

  • hsv-to-rgb (h s v)
  • hsv-to-color (h s v)
  • rgb-to-hsv (r g b)
  • color-to-hsv (c)

Installation[]

  1. Save hsv.jl in your load-path.
  2. Add the following line to your ~/.sawfishrc:
    (require 'hsv)