Forenote: I picked Feature requests instead of Bug reports due to the issue not being caused by Obsidian directly.
Steps to reproduce
Interact with any color picker inside Obsidian and try to copy or paste the HEX or any numerical value.
Did you follow the troubleshooting guide? [Y]
Yes but they are not relevant as this is a Chromium problem and will always be there.
Expected result
To be able to copy or paste values into color input fields just like any other input field.
Above would be my request but since that is not possible, a more appropriate “expected result” would be:
To replace the default color picker with a better one and provide it for plugins as well.
Some plugins (such as Kanban) are likely aware of this issue any they seem to have deployed their own color picker as a solution similiar to one I am recommending.
Actual result
Copying fails, nothing is transferred into the clipboard.
Pasting fails, either nothing is pasted or selected string is deleted.
Environment
Environment info is not relevant to the report as this is a Chromium problem.
Additional information
This issue has been known since at least 2020, meaning it is 4 years old. We can safely assume it is unlikely to be solved anytime soon.
This issue impacts all color pickers inside Obsidian such as the accent color picker, canvas card color picker as well as the plugins that use the Obsidian provided color picker such as Iconize.
This problem has caused many people frusturation and still keeps doing so. You can see this from these forum posts:
- Option to copy/paste graph colors - Feature requests - Obsidian Forum
- Copy And Pasting Hex colors on Canvas - Bug reports - Obsidian Forum
- Cannot paste an accent colour - Help - Obsidian Forum
- Enable pasting into Accent Color modal in Settings → Appearance - Feature requests - Obsidian Forum
- … and more (as a new user I am not allowed to paste more links at a single post apparently).
I would really appreciate it if Obsidian team could snuck this into a patch or at least decide to work on it