React Native onInit Set View Model Properties

The docs has:

where you can set a view model property, but appears that set doesn’t exist for ViewModelNumberProperty? Is it safe to just access value and set it that way, similar to this:

If yes, my specific use case is setting a color property, and it looks like value is of type number:

Should value be set to the byte/number representation of the hex?