David Darnes 6/15/2022

Using Display-P3 colour

Read Original

This article details a developer's process of implementing the Display-P3 color gamut on their personal website, built with Ghost and Eleventy. It explains the limitations of sRGB, demonstrates a custom JavaScript function to convert hexadecimal color codes into Display-P3 values for use in CSS, and discusses the current browser support (primarily Safari).

Using Display-P3 colour

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week