How to add Foreground Colour option to custom block

How to add Foreground Colour option to custom block