C4OP: CSS Color Code Color Output Preview
What is That?
It is a tool to preview the output color from the CSS color code you type (and/or slide).
This is a pure browser tool.
How to Use
First, select/pick the color model (on the bottom) to activate.
Then type or do the equalization using the slider (RGB/HSL/RGBA/HSLA).
If the color code is valid, you will see the output color. If it is invalid, the background-color
will be transparent (and you can see the default checkered background-image).
If you wanna equalize the color using different color model, copy the earlier reference, then switch to another model, and paste it, and equalize some more.
For example, you found keyword/hexadecimal color you like, but it wasn't bright enough. You can switch to RGB/HSL model then modify it per part.
If you need to convert it to HSL
, copy the HSL equivalency of that keyword/hexadecimal, switch to HSL
model, then modify it further.
Same method for RGB
.
Because RGBA
and HSLA
have Alpha
(transparency), therefore, for instance, you need to switch RGB
➡️ RGBA
, put 1
on the A
(Alpha
) part of the RGBA.
But it cannot be the other way around with RGBA
➡️ RGB