How can I find out the number of colors a device supports?

Is there any API which can return the device supported color depth? Or do I have to do it the hard way and see if System.getDeviceSettings().partNumber is in this list to know if it is limited to 14 colors?

displayName deviceId deviceFamily bitsPerPixel partNumbers_0_
_connectIQVersion_
partNumbers_0_
_number_
D2Tm Bravo d2bravo round-218x218 4 1.4.4 006-B2262-00
D2Tm Bravo Titanium d2bravo_titanium round-218x218 4 1.4.4 006-B2547-00
fēnix® 3 / tactix® Bravo / quatix® 3 fenix3 round-218x218 4 1.4.4 006-B2050-00
fēnix® 3 HR fenix3_hr round-218x218 4 1.4.4 006-B2413-00
Forerunner® 230 fr230 semiround-215x180 4 1.4.4 006-B2157-00
Forerunner® 235 fr235 semiround-215x180 4 1.4.4 006-B2431-00
Forerunner® 630 fr630 semiround-215x180 4 1.4.4 006-B2156-00
Forerunner® 920XT fr920xt rectangle-205x148 4 1.4.4 006-B1765-00
Forerunner® 45 fr45 round-208x208 4 1.4.5 006-B3282-00
Garmin SwimTm 2 garminswim2 round-208x208 4 1.4.5 006-B3405-00
Forerunner® 735xt fr735xt semiround-215x180 4 2.4.1 006-B2158-00
Edge® 130 edge130 rectangle-230x303 1 3.1.1 006-B2909-00
Edge® 130 Plus edge130plus rectangle-230x303 1 3.2.0 006-B3558-00
Forerunner® 55 fr55 round-208x208 4 3.2.5 006-B3869-00
DescentTm G1 / G1 Solar descentg1 semioctagon-176x176 1 3.2.7 006-B4005-00
Instinct® 2 / Solar / Dual Power / dēzl Edition instinct2 semioctagon-176x176 1 3.3.4 006-B3888-00
Instinct® 2S / Solar / Dual Power instinct2s semioctagon-163x156 1 3.3.4 006-B3889-00
Instinct® Crossover instinctcrossover semioctagon-176x176 1 3.3.6 006-B4155-00