trackhub.helpers.hex2rgb

trackhub.helpers.hex2rgb(h)[source]

Convert hex colors to RGB tuples

Parameters:
  • h (str) – String hex color value

  • hex2rgb("#ff0033") (>>>)

  • '255

  • 0

  • 51'