Update UIColor+Extension.swift
Update UIColor+Extension.swift

Reduced code
Using multiple functions is overkill here.
You can instead give a default value for the parameter to create the exact same result
noxytrux/ButtonsGoodPracticeTutorial