rgb_to_hex {jjb} | R Documentation |
Convert RGB Value to Hexadecimal
Description
This function converts an RGB value to the hexadecimal numbering system.
Usage
rgb_to_hex(R, G, B, pound = TRUE)
Arguments
R |
A |
G |
A |
B |
A |
pound |
A |
Value
A string
containing the hexadecimal information.
Examples
# Hexadecimal with pound sign
rgb_to_hex(255,255,255)
# Heaxadecimal without pound sign
rgb_to_hex(255,255,255,FALSE)
[Package jjb version 0.1.1 Index]