hexa2hex.RdFunction to find the HEX colour code corresponding to an input colour with a set opacity level (i.e. emulate transparency)
hexa2hex(input.colour, opacity, bg.colour = "white")
| input.colour | Initial colour. |
|---|---|
| opacity | Desired level of transparency (number between 0 and 1). |
| bg.colour | Colour of the background. Defaults to 'white'. |