Adding custom colour swatches and also changing to variant colours

New Member
1 0 0

I am having trouble adding custom colour swatches to the store admin code.

I have added the hex colours or rgb colours and they are not showing in my live view on the product pages. 

Also we would like to have the images change when you click on the new variant colour.. Is there an option to click in the admin settings or do we need to amend the code?

Any help would be much appreciated