Use the [ColorUsage] attribute to control the handling of your scripts color fields. You can enable hdr in the dialog and/or disable alpha depending on the parameters.