colormin

Converts between hex, hsl, rgb and CSS keywords, in order to produce the smallest equivalent color value.

.box {
    background: hsl(134, 50%, 50%);
}
.box {
    background: #40bf5e;
}

View on GitHub