utils

package
v0.0.0-...-5d524ee Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseHexColor

func ParseHexColor(input string) (colour color.RGBA, err error)

ParseHexColor parses a hex colour code into a colour.RGBA

The input is expected to be in the format: #RRGGBB or #RGB, #RRGGBBAA or #RGBA

Types

This section is empty.

Jump to

Keyboard shortcuts

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