From a62b5e5c9784149c951f026e233c1e611b8cd078 Mon Sep 17 00:00:00 2001 From: cicerotcv Date: Mon, 30 Oct 2023 18:45:40 -0300 Subject: [PATCH] docs: adds module's author, description and references --- conversions/hex_to_rgb.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/conversions/hex_to_rgb.py b/conversions/hex_to_rgb.py index 3a6c5b457..4efcea206 100644 --- a/conversions/hex_to_rgb.py +++ b/conversions/hex_to_rgb.py @@ -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.