rgb_to_hex | R Documentation |
This function converts an RGB value to the hexadecimal numbering system.
rgb_to_hex(R, G, B, pound = TRUE)
R |
A |
G |
A |
B |
A |
pound |
A |
A string
containing the hexadecimal information.
# 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.