csshex

package
v0.0.0-...-220a796 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: MIT Imports: 2 Imported by: 4

Documentation

Overview

Package csshex provides CSS hex color string parsing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(s string) (r, g, b uint8, ok bool)

Parse returns the rgb values parsed from a color hex string, with optional leading hash, for example "#fc0" or "ffcc00".

Types

This section is empty.

Jump to

Keyboard shortcuts

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