Title: | Color Code and Specification Information |
---|---|
Description: | What the package does (one paragraph). |
Authors: | Shinya Uryu [aut, cre] |
Maintainer: | Shinya Uryu <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.0.0.9000 |
Built: | 2024-11-24 06:25:54 UTC |
Source: | https://github.com/uribo/colorinfo |
Outputs a color close to the given color code on the command line.
col_block(color, bg = NULL)
col_block(color, bg = NULL)
color |
color code |
bg |
background color |
## Not run: col_block("#00af00") col_block("#00af00", bg = "white") col_block(rgb(221, 235, 30, maxColorValue = 255), bg = "black") ## End(Not run)
## Not run: col_block("#00af00") col_block("#00af00", bg = "white") col_block(rgb(221, 235, 30, maxColorValue = 255), bg = "black") ## End(Not run)
Color to XY Conversion
col2xy(color)
col2xy(color)
color |
color code |
col2xy("#FF003F") col2xy(rgb(221, 235, 30, maxColorValue = 255))
col2xy("#FF003F") col2xy(rgb(221, 235, 30, maxColorValue = 255))