• You can split the string by ' ' (single space) the you can take the second value for colour. similarly fo others