powered by
Converts RGB values to hex colour code
rgb_to_hex(x)
A corresponding hex colour code
A matrix of red, blue and green values
temp_rgb_matrix <- rgba_to_rgb(c(52, 46, 39, 0.8)) rgb_to_hex(temp_rgb_matrix)
Run the code above in your browser using DataLab