Examples for 'scales::col2hcl'


Modify standard R colour in hcl colour space.

Aliases: col2hcl

Keywords:

### ** Examples

reds <- rep("red", 6)
show_col(col2hcl(reds, h = seq(0, 180, length = 6)))
plot of chunk example-scales-col2hcl-1
show_col(col2hcl(reds, c = seq(0, 80, length = 6)))
plot of chunk example-scales-col2hcl-1
show_col(col2hcl(reds, l = seq(0, 100, length = 6)))
plot of chunk example-scales-col2hcl-1
show_col(col2hcl(reds, alpha = seq(0, 1, length = 6)))
plot of chunk example-scales-col2hcl-1

[Package scales version 1.2.0 Index]