to Color

fun String.toColor(): Color

Function to get the color from its hex code

Return

color as Color