foregroundColor's are Undefined!

When I run this command require('photoshop').app.foregroundColor the object returns RGB colors that are undefined, even though other color formats such as HSB, CMYK values exist?

What is the problem?

It’s a known bug and seems like in review since November. Maybe it’s already in a beta version, would need to test

It passed review and should land with PS 24.3 …along with other color-related bugs fixed: Get code from foregroundColor - #19 by Jarda

So fix will be there soon :slight_smile:

1 Like

Should be fixed in the latest PS 24.3.0 build (m2087)