Complex sentence: Colors may be specified as an RGB triplet or in hexadecimal format (a "hex triplet") or according to their common English names in some cases.
Split into simpler sentences: Colors may be specified as an RGB triplet or in hexadecimal format (a "hex triplet"). They may also be specified according to their common English names in some cases.