iroiro

package module
v0.0.0-...-f17e407 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2025 License: MIT Imports: 2 Imported by: 0

README

iroiro

iroiro provides assortment of feature for colors.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Red       = color.RGBA{204, 0, 0, 255}
	Orange    = color.RGBA{251, 148, 11, 255}
	Yellow    = color.RGBA{255, 255, 0, 255}
	Green     = color.RGBA{0, 204, 0, 255}
	Bluegreen = color.RGBA{3, 192, 198, 255}
	Blue      = color.RGBA{0, 0, 255, 255}
	Purple    = color.RGBA{118, 44, 167, 255}
	Pink      = color.RGBA{255, 152, 191, 255}
	White     = color.RGBA{255, 255, 255, 255}
	Gray      = color.RGBA{153, 153, 153, 255}
	Black     = color.RGBA{0, 0, 0, 255}
	Brown     = color.RGBA{136, 84, 24, 255}
)

Functions

func Hex

func Hex(c color.RGBA) string

Hex はRGBAをHEXに変換する

func RGBA

func RGBA(hex string) (c color.RGBA)

RGBA はHEXをRGBAに変換する

ref

Types

This section is empty.

Directories

Path Synopsis
https://github.com/yulog/mi-diary/blob/49d5c1e42f7bb6b57f293b9aca214a44bb0c7048/color/color.go
https://github.com/yulog/mi-diary/blob/49d5c1e42f7bb6b57f293b9aca214a44bb0c7048/color/color.go

Jump to

Keyboard shortcuts

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