If you want to apply conditional validation on 'Footer Hexcode' or 'Header Hexcode', then you need to add 'Color Picker' input as '#AFAFAF'
{{hexcolorInfoFormGroup.controls.color.errors.hexColor.message}}
If you want to apply conditional validation on 'Header Hexcode' then you need to add 'Color Picker' input as '#AFAFAF'
Conditional Expression with type 'string'
{{hexcolorInfoFormGroup.controls.headerHexcolorCode.errors.hexColor.message}}
Shows custom message
{{hexcolorInfoFormGroup.controls.bodyHexcolorCode.errors.hexColor.message}}