hsv

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromRGB

func FromRGB(r, g, b uint8) (uint16, uint8, uint8)

FromRGB converts RGB values into HSV ones in which H = 0 - 360, S = 0 - 100 and V = 0 - 100

func ToRGB

func ToRGB(H uint16, S, V uint8) (R uint8, G uint8, B uint8)

ToRGB converts HSV values into RGB.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL