seven_bits

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: MIT Imports: 1 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SevenColor

type SevenColor struct {
	R, G, B uint8
}

color in 7 bits

func FromColor

func FromColor(color color.Color) SevenColor

func (SevenColor) Equal

func (bc SevenColor) Equal(c color.Color) bool

func (SevenColor) HSL

func (bc SevenColor) HSL() color.HSL

func (SevenColor) HSV

func (bc SevenColor) HSV() color.HSV

func (SevenColor) IsSame

func (bc SevenColor) IsSame(other SevenColor) bool

func (SevenColor) RGB

func (bc SevenColor) RGB() color.RGB

func (SevenColor) RGBA

func (bc SevenColor) RGBA() (uint32, uint32, uint32, uint32)

Convert 7 to 16 bits channels

Jump to

Keyboard shortcuts

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