Closed jcogs-design closed 2 years ago
Currently neither the RGB nor RGBA classes accept values defined as percentages. As noted here, both should accept either integer values in range 0-255, or a % in range 0-100, where 100% is then converted to 255.
We'll take this further in your PR.
Currently neither the RGB nor RGBA classes accept values defined as percentages. As noted here, both should accept either integer values in range 0-255, or a % in range 0-100, where 100% is then converted to 255.