| Title: | Color Code and Specification Information |
|---|---|
| Description: | What the package does (one paragraph). |
| Authors: | Shinya Uryu [aut, cre] (ORCID: <https://orcid.org/0000-0002-0493-6186>) |
| Maintainer: | Shinya Uryu <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.0.0.9000 |
| Built: | 2026-05-18 10:31:14 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))