Greyscale images have a colour saturation of zero, while full colour images have the maximum saturation. In SwiftUI there is a modifier that allows you to change this setting to a value between zero and one.
To demonstrate this I am providing three overlapping rectangles in three different colours.
Keep reading with a 7-day free trial
Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.