mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-12-01 00:41:09 +00:00
docs: adds module's author, description and references
This commit is contained in:
parent
c493d23dda
commit
a62b5e5c97
|
@ -1,3 +1,13 @@
|
|||
"""
|
||||
* Author: Cicero Tiago Carneiro Valentim (https://github.com/cicerotcv)
|
||||
* Description: Convert hexadecimal (#FF2000) color to RGB (rgb(255, 32, 0)).
|
||||
|
||||
References:
|
||||
https://www.w3schools.com/colors/colors_rgb.asp
|
||||
https://www.w3schools.com/colors/colors_hexadecimal.asp
|
||||
"""
|
||||
|
||||
|
||||
def hex_to_rgb(hex_color: str) -> str:
|
||||
"""
|
||||
Converts a hexadecimal color code to RGB values.
|
||||
|
|
Loading…
Reference in New Issue
Block a user