social.tchncs.de is one of the many independent Mastodon servers you can use to participate in the fediverse.
A friendly server from Germany – which tends to attract techy people, but welcomes everybody. This is one of the oldest Mastodon instances.

Administered by:

Server stats:

3.8K
active users

#hwb

0 posts0 participants0 posts today

HWB (Hue, Whiteness, Blackness) is a cylindrical-coordinate representation of points in an RGB color model, similar to HSL and HSV. It was developed by HSV's creator Alvy Ray Smith in 1996 to address some of the issues with HSV.

#HWB#RGB#HSL

It's time to put to rest #hex and #rgb() / #rgba() colours in #CSS and embrace the future: #oklch() and #oklab()

* oklch() model: caniuse.com/?search=oklch%28%2
* oklab(): caniuse.com/?search=oklab%28%2

I'm not sure why we still need to add/support lch() and lab() since the ‘okay’ version is the ‘fixed’ version… which is better. Then again, I'm not a #colour expert, hence I can't think of a reason. (Can someone enlighten us, mortals? Thank you!)

Since oklch(), oklab(), lch(), and lab() are still not widely supported (yet), and many end-users are still using an old version of browsers without support, there is #hwb().

As you can see from caniuse.com/?search=hwb%28%29 hwb() is widely supported already. The only browsers still without hwb() support are niche browsers, mainly from China (they don't even support rgb() according to #CanIUse).

* Base #color model: hwb()
* To be future proof: oklch() or oklab()

What I'm more excited about is the #RelativeColor feature from #CSSColor5, but that's for another day.

caniuse.com"oklch()" | Can I use... Support tables for HTML5, CSS3, etc
Replied in thread

@rainer also wenn ich jetzt einmal 200m² Wohnfläche annehme, dann ergäbe dies einen sensationellen #HWB von ~41 kWh/(a∙m²) [1]. Wobei ihr ja damit auch noch die Kühlung im Sommer und das E-Auto betreibt. Bitte womit habt ihr dieses Haus gedämmt? Oder wird noch irgendwie zugeheizt mit Kachelofen o.ä.
[1] 8,19MWh / 200m²
= 0,04095