Menu

Convert OKLCH to HEX in the Browser: A Colour Picker That Never Uploads
📰

Convert OKLCH to HEX in the Browser: A Colour Picker That Never Uploads

DEV Community: css·OnePassApps·13 days ago
#Xq0VVb60
#devtocss#devto#dev#colour#oklch
Reading 0:00
15s threshold

OKLCH to HEX, without pasting your colour into someone else's server

Full disclosure first: I work on OnePassApps.

Design in a modern tool and you get OKLCH. Hand the colour to a developer and you get hex. The gap between the two is usually bridged by a converter website, and pasting work into a random form to move a number from one notation to another is a habit worth breaking - especially when the number is the only thing you sent.

The Colour Studio in OnePassApps has a Picker tab that converts between HEX, RGB(A), HSL(A) and OKLCH inside the tab, and reads the contrast of the same colour while you are there.

Open it here: the Colour Studio

What the page says about itself

The studio headline is "Pick, convert, compare and sample colours on this device. Your values and selected images stay in this browser tab."

Four tabs sit under it: Picker , Contrast , Palettes and Image .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.