colorutils

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertBits

func ConvertBits(x uint32, m int) uint32

func CreateColor

func CreateColor(h uint32) color.Color

func GenerateRandomColor

func GenerateRandomColor() (h, r, g, b, a uint32, c color.Color)

func HexValue

func HexValue(c color.Color) (h uint32)

func IsTransparent

func IsTransparent(c color.Color) bool

func RgbaValues

func RgbaValues(c color.Color) (r, g, b, a uint8)

func SortAsc

func SortAsc(s []uint32, i, j int) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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