powered by
rgb()
A simple extension of rgb().
RGB(r, g, b, alpha)
"#rrggbb" or "#rrggbbaa".
"#rrggbb"
"#rrggbbaa"
Red, Green, Blue: 0~255.
Color transparency (opacity): 0~1. If not specified, an opaque color will be generated.
RGB(255, 0, 0) # red: "#FF0000" RGB(255, 0, 0, 0.8) # red with 80\% opacity: "#FF0000CC"
Run the code above in your browser using DataLab