mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Fixed unexpected indentation [ci skip]
This commit is contained in:
		
							parent
							
								
									930059814d
								
							
						
					
					
						commit
						497f9e2764
					
				| 
						 | 
					@ -16,16 +16,20 @@ Color Names
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The ImageColor module supports the following string formats:
 | 
					The ImageColor module supports the following string formats:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* Hexadecimal color specifiers, given as ``#rgb``, ``#rgba``, ``#rrggbb`` or ``#rrggbbaa``, 
 | 
					* Hexadecimal color specifiers, given as ``#rgb``, ``#rgba``, ``#rrggbb`` or
 | 
				
			||||||
  with the following placeholders: 
 | 
					  ``#rrggbbaa``, with the following placeholders:
 | 
				
			||||||
    - ``r``: red
 | 
					
 | 
				
			||||||
    - ``g``: green
 | 
					    - ``r`` red
 | 
				
			||||||
    - ``b``: blue
 | 
					    - ``g`` green
 | 
				
			||||||
    - ``a``: alpha / opacity (can be used in combination with ``mode="RGBA"`` in :py:mod:`~PIL.ImageDraw`)
 | 
					    - ``b`` blue
 | 
				
			||||||
  
 | 
					    - ``a`` alpha / opacity (can be used in combination with ``mode="RGBA"`` in
 | 
				
			||||||
 | 
					      :py:mod:`~PIL.ImageDraw`)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  Examples:
 | 
					  Examples:
 | 
				
			||||||
   - ``#ff0000`` specifies pure red.
 | 
					
 | 
				
			||||||
   - ``#ff0000aa`` specifies pure red with an opacity of 66.66% (aa = 170, opacity = 170/255).
 | 
					    - ``#ff0000`` specifies pure red.
 | 
				
			||||||
 | 
					    - ``#ff0000aa`` specifies pure red with an opacity of 66.66% (aa = 170, opacity =
 | 
				
			||||||
 | 
					      170/255).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* RGB functions, given as ``rgb(red, green, blue)`` where the color values are
 | 
					* RGB functions, given as ``rgb(red, green, blue)`` where the color values are
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user