<?php
$mainColor    = $this->params->get('mainColor');
$secondColor    = $this->params->get('secondColor');
$backgroundColor    = $this->params->get('backgroundColor');
$linkColor    = $this->params->get('linkColor');

if($mainColor || $secondColor || $backgroundColor){
$customColors = 1;
}
?>