toColor

Method used to get the color from its hex code

Return

color as Color