Skip to main content
YuK1_Works
Inspiring
March 14, 2024
Question

How to use the Color Picker with CEP nad React

  • March 14, 2024
  • 1 reply
  • 323 views

Is there a way to use a color picker?
I tried to use EveDropper API but it didn't work.
I am developing a CEP for AfterEffects, so it would be better if I could open the AfterEffects color picker.

I am looking for a function to get the color of the clicked pixel like this one.
I am not an English speaker, so I don't know the name and am having trouble finding it.

https://developer.mozilla.org/en-US/docs/Web/API/EyeDropper

This topic has been closed for replies.

1 reply

Community Expert
March 14, 2024

there's no direct way without resorting to c++.

however, here's a nice javascript workaround poasted way back when in this forum:

https://community.adobe.com/t5/after-effects-discussions/calling-the-after-effects-color-picker-through-script/td-p/11954317