add util function for hexToRgb
remove commentsg