@@ -84,12 +84,6 @@ impl Color {
8484        ( * self ) . into ( ) 
8585    } 
8686
87-     #[ deprecated = "Use `Color::srgba` instead" ]  
88-     /// Creates a new [`Color`] object storing a [`Srgba`] color. 
89- pub  const  fn  rgba ( red :  f32 ,  green :  f32 ,  blue :  f32 ,  alpha :  f32 )  -> Self  { 
90-         Self :: srgba ( red,  green,  blue,  alpha) 
91-     } 
92- 
9387    /// Creates a new [`Color`] object storing a [`Srgba`] color. 
9488pub  const  fn  srgba ( red :  f32 ,  green :  f32 ,  blue :  f32 ,  alpha :  f32 )  -> Self  { 
9589        Self :: Srgba ( Srgba  { 
@@ -100,12 +94,6 @@ impl Color {
10094        } ) 
10195    } 
10296
103-     #[ deprecated = "Use `Color::srgb` instead" ]  
104-     /// Creates a new [`Color`] object storing a [`Srgba`] color with an alpha of 1.0. 
105- pub  const  fn  rgb ( red :  f32 ,  green :  f32 ,  blue :  f32 )  -> Self  { 
106-         Self :: srgb ( red,  green,  blue) 
107-     } 
108- 
10997    /// Creates a new [`Color`] object storing a [`Srgba`] color with an alpha of 1.0. 
11098pub  const  fn  srgb ( red :  f32 ,  green :  f32 ,  blue :  f32 )  -> Self  { 
11199        Self :: Srgba ( Srgba  { 
@@ -116,12 +104,6 @@ impl Color {
116104        } ) 
117105    } 
118106
119-     #[ deprecated = "Use `Color::srgb_from_array` instead" ]  
120-     /// Reads an array of floats to creates a new [`Color`] object storing a [`Srgba`] color with an alpha of 1.0. 
121- pub  fn  rgb_from_array ( [ r,  g,  b] :  [ f32 ;  3 ] )  -> Self  { 
122-         Self :: Srgba ( Srgba :: rgb ( r,  g,  b) ) 
123-     } 
124- 
125107    /// Reads an array of floats to creates a new [`Color`] object storing a [`Srgba`] color with an alpha of 1.0. 
126108pub  const  fn  srgb_from_array ( array :  [ f32 ;  3 ] )  -> Self  { 
127109        Self :: Srgba ( Srgba  { 
@@ -132,14 +114,6 @@ impl Color {
132114        } ) 
133115    } 
134116
135-     #[ deprecated = "Use `Color::srgba_u8` instead" ]  
136-     /// Creates a new [`Color`] object storing a [`Srgba`] color from [`u8`] values. 
137- /// 
138- /// A value of 0 is interpreted as 0.0, and a value of 255 is interpreted as 1.0. 
139- pub  fn  rgba_u8 ( red :  u8 ,  green :  u8 ,  blue :  u8 ,  alpha :  u8 )  -> Self  { 
140-         Self :: srgba_u8 ( red,  green,  blue,  alpha) 
141-     } 
142- 
143117    /// Creates a new [`Color`] object storing a [`Srgba`] color from [`u8`] values. 
144118/// 
145119/// A value of 0 is interpreted as 0.0, and a value of 255 is interpreted as 1.0. 
@@ -152,14 +126,6 @@ impl Color {
152126        } ) 
153127    } 
154128
155-     #[ deprecated = "Use `Color::srgb_u8` instead" ]  
156-     /// Creates a new [`Color`] object storing a [`Srgba`] color from [`u8`] values with an alpha of 1.0. 
157- /// 
158- /// A value of 0 is interpreted as 0.0, and a value of 255 is interpreted as 1.0. 
159- pub  fn  rgb_u8 ( red :  u8 ,  green :  u8 ,  blue :  u8 )  -> Self  { 
160-         Self :: srgb_u8 ( red,  green,  blue) 
161-     } 
162- 
163129    /// Creates a new [`Color`] object storing a [`Srgba`] color from [`u8`] values with an alpha of 1.0. 
164130/// 
165131/// A value of 0 is interpreted as 0.0, and a value of 255 is interpreted as 1.0. 
@@ -172,12 +138,6 @@ impl Color {
172138        } ) 
173139    } 
174140
175-     #[ deprecated = "Use Color::linear_rgba instead." ]  
176-     /// Creates a new [`Color`] object storing a [`LinearRgba`] color. 
177- pub  const  fn  rbga_linear ( red :  f32 ,  green :  f32 ,  blue :  f32 ,  alpha :  f32 )  -> Self  { 
178-         Self :: linear_rgba ( red,  green,  blue,  alpha) 
179-     } 
180- 
181141    /// Creates a new [`Color`] object storing a [`LinearRgba`] color. 
182142pub  const  fn  linear_rgba ( red :  f32 ,  green :  f32 ,  blue :  f32 ,  alpha :  f32 )  -> Self  { 
183143        Self :: LinearRgba ( LinearRgba  { 
@@ -188,12 +148,6 @@ impl Color {
188148        } ) 
189149    } 
190150
191-     #[ deprecated = "Use Color::linear_rgb instead." ]  
192-     /// Creates a new [`Color`] object storing a [`LinearRgba`] color with an alpha of 1.0. 
193- pub  const  fn  rgb_linear ( red :  f32 ,  green :  f32 ,  blue :  f32 )  -> Self  { 
194-         Self :: linear_rgb ( red,  green,  blue) 
195-     } 
196- 
197151    /// Creates a new [`Color`] object storing a [`LinearRgba`] color with an alpha of 1.0. 
198152pub  const  fn  linear_rgb ( red :  f32 ,  green :  f32 ,  blue :  f32 )  -> Self  { 
199153        Self :: LinearRgba ( LinearRgba  { 
0 commit comments