coloredText (function)

coloredText(text='', color='red', htmlClass='', pull=False, size=False, addBackgroundColor=False)[source]

Colour text a given colour

Key Arguments

  • text – the text to color

  • color – the color

  • htmlClass – the class for the text

  • size – the relative size of the text

  • addBackgroundColor – add a complimentary background color to the text

Return

  • text – the coloured text span