TEXT COLOR

This tutorial is specific to our newest product, Hudl Sportscode. If you’re on Sportscode v11, use these resources instead or upgrade today.

This command changes the text color of a button name.


FORMAT: TEXT COLOR (red, blue, green) or TEXT COLOR (red, blue, green, alpha_level)


DEFINITIONS:

  • color: red color, blue color and green color have to have a value of 0-100
  • alpha_level: the opacity of the text. 0 = transparent, 100 = full color

Colors are determined on the RGB scale. To set a specific color, use the formula (X/256)*100


EXAMPLE 1:

TEXT COLOR (100, 0, 0)

Changes text color to red.

EXAMPLE 2:

TEXT COLOR (100, 0, 0, 50)

Changes text color to red with 50% opacity.