diff --git a/MVMCoreUI/CustomPrimitives/Color.swift b/MVMCoreUI/CustomPrimitives/Color.swift index c1fd4b33..1c2240da 100644 --- a/MVMCoreUI/CustomPrimitives/Color.swift +++ b/MVMCoreUI/CustomPrimitives/Color.swift @@ -139,7 +139,7 @@ public final class Color: Codable { private func determineRGBA() throws { guard !hex.isEmpty else { return } - guard hex.count > 6 else { + guard hex.count >= 6 else { throw ColorError.invalidHex(reason: "Invalid hex: \(hex)") }