shoelace-style/webawesome

Colour Picker doesn't correctly load with a HEXA value

Open

#2,550 opened on Jun 24, 2026

View on GitHub
 (3 comments) (0 reactions) (0 assignees)TypeScript (157 forks)github user discovery
buggood first issuehelp wanted

Repository metrics

Stars
 (1,104 stars)
PR merge metrics
 (PR metrics pending)

Description

Describe the bug

It looks like if you supply a HEXA value to the colour picker, that it won't interpret it correctly and the opacity value is lost.

Demo

https://codepen.io/brendon-the-animator/pen/XJpggNd

You'll notice that the opacity value gets lost in the interface and the form will submit just a a HEX value unless the opacity is changed.

Browser / OS

  • OS: Mac
  • Browser: Safari, Chrome
  • Browser version: Latest

Contributor guide