#hwb

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 #HSV #color #colors #Hue #Whiteness #Blackness

A diagram of HWB color model on a white background.
Yohan Yukiya Sese Cuneta 사요한🦣youronlyone@c.im
2023-12-25

Oh! #oklch is now supported in all major browsers. That was fast, within the year.

⇉ caniuse.com/?search=oklch

I guess it is now safe to trim down #CSS / #SCSS files to just #hwb and oklch colours.

#webdesign #webdev #webmaster #CSS4

Yohan Yukiya Sese Cuneta 사요한🦣youronlyone@c.im
2023-04-08

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.

#CSSColor4 #CSS5 #CSS #colors #color #webdev #webmaster

Inautiloinautilo
2023-02-03


High definition CSS color guide · CSS Color 4 brings wide gamut color tools and capabilities to the web ilo.im/10u90g

_____

2023-01-06

@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

2022-11-13

Anyone know anything about using #J2e on #hwb? Son has completed a load of course work… its now disappeared… 🤯

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst