colors

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CharsToUint8

func CharsToUint8(part string) ([3]uint8, error)

CharsToUint8 converts a string containing a hexadecimal representation of a color into decimal representation

func PickBgColor

func PickBgColor(epicCount int) color.RGBA

PickBgColor will pick a color for main project

func PickFgColor

func PickFgColor(epicCount, taskCount, indentation int) *color.RGBA

PickFgColor will pick a color for a project based on the number of epic, task and indentation

func ToHexa

func ToHexa(c color.Color) string

ToHexa converts a color into a hexadecimal string representation (e.g. #fa3, #ffaa33)

Types

This section is empty.

Jump to

Keyboard shortcuts

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