fn write_scaled_component( color: &DynamicColor, ix: usize, f: &mut Formatter<'_>, scale: f32, ) -> Result