         
         var radiusRange: (min: SolarRadius, max: SolarRadius) {
             switch self {
-            case .o:
+            case .O:
                 return (min: 6.6, max: 76)
-            case .b:
+            case .B:
                 return (min: 1.8, max: 6.6)
-            case .a:
+            case .A:
                 return (min: 1.4, max: 1.8)
-            case .f:
+            case .F:
                 return (min: 1.15, max: 1.4)
-            case .g:
+            case .G:
                 return (min: 0.96, max: 1.15)
-            case .k:
+            case .K:
                 return (min: 0.7, max: 0.96)
-            case .m:
+            case .M:
                 return (min: 0.33, max: 0.7)
             }
         }

        init(percentile: Double) {
            switch percentile {
            case percentile where percentile >= 0.9999997:
                self = .o
            case percentile where percentile >= 0.9987:
                self = .b
            case percentile where percentile >= 0.994:
                self = .a
            case percentile where percentile >= 0.97:
                self = .f
            case percentile where percentile >= 0.924:
                self = .g
            case percentile where percentile >= 0.879:
                self = .k
            default:
                self = .m
            }
        }
    }

        
        var referenceColor: (hue: CGFloat, saturation: CGFloat) {
            switch self {
            case .O:
                return (hue: 0.639, saturation: 0.457)
            case .B:
                return (hue: 0.634, saturation: 0.398)
            case .A:
                return (hue: 0.628, saturation: 0.251)
            case .F:
                return (hue: 0.741, saturation: 0.035)
            case .G:
                return (hue: 0.089, saturation: 0.11)
            case .K:
                return (hue: 0.092, saturation: 0.35)
            case .M:
                return (hue: 0.086, saturation: 0.636)
            }
        }
