Farben HWB
HWB (Hue, Whiteness, Blackness) ist ein vorgeschlagener Standard für CSS4.
HWB-Rechner
RGB(255, 0, 0)
#ff0000
hsl(0, 100 %, 50 %)
H:
W:
B:
HWB (Hue, Whiteness, Blackness) ist ein vorgeschlagener Standard für CSS4.
HWB wird in HTML (noch) nicht unterstützt, wird aber als neuer Standard in CSS4 vorgeschlagen.
Während Sie auf CSS4 warten, können Sie die Farbbibliothek von W3Schools einbinden und HWB wie folgt als HTML-Attribut verwenden:
<div
data-w3-color="hwb(60, 50%, 0)">
<p>London is the capital city of England.
It is the most populous city in the United Kingdom,
with a metropolitan area of over 13 million inhabitants.</p>
</div>
<script src="/lib/w3color.js"></script>
Die im obigen Beispiel verwendete JavaScript-Bibliothek kann von heruntergeladen werden
https://www.w3schools.com/lib/w3color.js