I'm working on a project that uses a bunch of labels, so I made a label class that takes a variety of different parameters. One of these is color, and while everything else works like a charm, the color comes out faded. I put the label on a gray background, set a white color, and the outcome is as if it mixed with the background to make a lighter gray.
init(fontSize: CGFloat, fontColor: SKColor, position: CGPoint, alignment: SKLabelHorizontalAlignmentMode) {
super.init()
self.fontSize = fontSize
self.fontColor = fontColor
self.position = position
self.horizontalAlignmentMode = alignment
}
When I apply the parameters, I use fontColor: SKColor.whiteColor()
I tried looking around for a solution or someone with a similar problem but came up with nothing.
Any suggestions/tips?
