Unfortunately not all items respect the colour property, which is not a bug as such but rather a number of things that are as yet un-implemented. Accidentals cannot be coloured independently of notes because they are fragments of the note itself. We could in future add a separate property to allow accidentals to be coloured independently, but I’d be interested to know what you would find that useful for. Thanks!