Fill Style For Valve Doesn't Work

I'm using Ignition Perspective version 8.1.22.
I added Fill Style to the Valve and change the color. Somehow, it doesn't work.

Any help would be appreciated. Thanks

The fill style is set by props.state.
You can select default, open, failedToOpen, partiallyClosed, closed, failedToClose.

Version 8.1.26 introduced some additional customisation.

Tip: you'll find that valve open is white. This is in line with the newer High Performance HMI approach. See RealPars on YouTube. (It's the second time I've mentioned them today.) Use colour sparingly and don't rely on it to pass information to an operator. 1 in 12 men have some form of colour-blindness (red/green most common) and 1 in 200 women.