hsv2hex: HSV to Hex Color Conversion

Description Usage Arguments Value Examples

Description

Convert matrices containing "hue", "saturation", and "value" values into hex color strings.

Usage

1

Arguments

col

A matrix containing three rows (h, s, v) and a column for each color specified. Values are in [0,1].

alpha

Whether or not to include alpha channel values in the result. Because HSV matrices do not have this information, full opacity ("FF") is used.

Value

A vector of colors (as hexadecimal strings) corresponding to the given values in HSV space

Examples

1
hsv2hex(col2hsv("orange"))

briandconnelly/colormod documentation built on May 13, 2019, 5:13 a.m.