Determine if color is in RGB gamut

pth_in_gamut(color)

Arguments

color

character or matrix with S3 class pth_mat, a representation of a color.

Value

logical for each color indicates if in-gamut

Examples

  pth_in_gamut("#663399")
#> [1] TRUE