Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2021-06-21 14:44:55

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,724
Website GitHub Twitter

web colours

This article by Lea Verou, discusses that the colours we only see about 50% of the colours on websites that monitors are capable of displaying, because CSS standards haven’t caught up.


Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#2 2021-06-21 20:48:18

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 1,869
Website

Re: web colours

colak wrote #330582:

This article by Lea Verou, discusses that the colours we only see about 50% of the colours on websites that monitors are capable of displaying, because CSS standards haven’t caught up.

bookmarked


…. texted postive

Offline

#3 2021-06-21 23:14:22

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,474
Website

Re: web colours

colak wrote #330582:

Of note of course is that many laptop & cheaper standalone monitors did a poor job at displaying colours. It is only the last 5 years that this has started to improve.

Rather, CSS has been very slow in implementing more/better colour formats1. And (some) browsers – ahem Firefox – have done a very bad job at displaying and calibrating colours. Is is only since last summer (2020) that Firefox can colour calibrate CSS colours, something Safari has been doing since forever. Firefox still does not understand the color-gamut media query. FWIW.

But yeah, having those lab() and lch() formats will be great. You can already use them with Safari 14.1.

PS – it is a good article by Lea.

–^–

1 HEX and rgb() are evil and should never have been supported. There, I said it.

Last edited by phiw13 (2021-06-22 00:01:38)


Where is that emoji for a solar powered submarine when you need it ?

Offline

#4 2021-06-22 09:41:19

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 474

Re: web colours

Now that’s an interesting article. I need to read this in depth and digest it.

I love working with colours in CSS and enjoy collecting them for future projects. I have a colours.scss file where I keep any interesting ones I find.

phiw13 wrote #330587:

HEX and rgb() are evil and should never have been supported. There, I said it.

I’m more of an HSLA person myself, it makes way more sense to me then HEX or RGBA. I love working with HSLA colours and using SASS to manipulate them using scale-color.

Last edited by Algaris (2021-06-22 09:42:20)

Offline

#5 2021-06-22 10:11:49

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,474
Website

Re: web colours

Algaris wrote #330600:

I’m more of an HSLA person myself, it makes way more sense to me then HEX or RGBA. I love working with HSLA colours and using SASS to manipulate them using scale-color.

Ditto that. I’ve started creating a library of CSS custom properties to manipulate those, though. And with those future color formats it will be much easier, as , I think Lea partly illustrates in her article


Where is that emoji for a solar powered submarine when you need it ?

Offline

Board footer

Powered by FluxBB