inst/tinytest/test-35-swatch.R

expect_null(swatch(c("red", "green", "blue")))
expect_null(swatch(saturation(brightness(c("red", "green", "blue"), c(0.25,0.75)), c(0.25,0.75))))

Try the shades package in your browser

Any scripts or data that you put into this service are public.

shades documentation built on July 3, 2026, 1:07 a.m.