mirror of
https://github.com/penpot/penpot.git
synced 2025-06-10 08:41:40 +02:00
✨ Color picker improvements
This commit is contained in:
parent
9b4ffbaf0c
commit
e3f7e352d4
2 changed files with 16 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
|||
[v]
|
||||
(try
|
||||
(into [] (gcolor/hexToRgb v))
|
||||
(catch js/Object e [0 0 0])))
|
||||
(catch :default e [0 0 0])))
|
||||
|
||||
(defn rgb->hex
|
||||
[[r g b]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue