home.social

#rgba — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #rgba, aggregated by home.social.

  1. @a 1. #rgba alpha #channel
    2. color-mix with #variable
    3. #opacity & #inheritance
    3a. opacity changes as well as content-box colors though...

  2. Управляем компьютерной RGB подсветкой без пк

    Компьютерная ргб подсветка несет краски в наш мир, и конечно же пачку тяжеловесного софта который отнимает драгоценную память и циклы процессора. Но под капотом большинства аксессуаров с ргб подсветкой прячутся светодиоды с чипом WS2812 который легко управляется с простого микроконтроллера. О простом способе подключения таких девайсов без пк я расскажу далее в статье.

    habr.com/ru/articles/802441/

    #esp8266 #xpg #adata #rgb #rgba #подсветка #туториал #esp

  3. 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