What would be the best (as in: most concise) way for setting just the alpha component of a predefined color?
Say I'd like to use something like + (NSColor *)brownColor
but with 50% opacity -
I couldn't find an appropriate constructor like ..fromNSColor:
that would allow us to change the alpha component and with NSColor
being immutable is there any other convenience method we can use to alter the alpha component whilst keeping r/g/b components the same?