Description Usage Arguments Value Examples
This function converts an RGB value to the hexadecimal numbering system.
1 | rgb_to_hex(R, G, B, pound = TRUE)
|
R |
A |
G |
A |
B |
A |
pound |
A |
A string
containing the hexadecimal information.
1 2 3 4 5 | # Hexadecimal with pound sign
rgb_to_hex(255,255,255)
# Heaxadecimal without pound sign
rgb_to_hex(255,255,255,FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.