func (component *Component) setColour(name string, value interface{}) error {
    //Process colours
    colourVal, ok := value.(uint8)
    if !ok {
        return fmt.Errorf("error converting %v to uint8", value)