dislike

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixIfDisliked

func FixIfDisliked(hct color.Hct) color.Hct

FixIfDisliked returns a lighter version of the color if it is disliked. If the color is disliked, it returns a new color with the same hue and chroma but with tone 70. Otherwise, it returns the original color unchanged.

func IsDisliked

func IsDisliked(hct color.Hct) bool

IsDisliked reports whether the color is considered visually unpleasant. Disliked colors are dark yellow-greens with sufficient saturation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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