I've created Color Set in Assets.xcassets, you can see it in screenshot below
And my question is
How to get this color in code ?
You should use this init of UIColor
init?(named name: String)
For example:
view.backgroundColor = UIColor(named: "Greeny")
And your name of Color in Assets must be the same as parameter in init