Spaces:
Configuration error
Configuration error
File size: 860 Bytes
518c3a9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 29 15:28:55 2020
@author: ASUS
"""
def colores_corporativos(colors=None):
diccionario = {'red': (204, 0, 51),
'light_blue': (110, 162, 201),
'gray': (66, 74, 82),
'light_green': (122, 178, 153),
'yellow': (195, 195, 9),
'dark_purple': (119, 28, 95),
'blue': (42, 83, 113),
'purple': (159, 37, 127),
'light_yellow': (252, 252, 196),
'green': (55, 95, 77),
'light_gray': (135, 146, 158)}
for key in diccionario:
diccionario[key] = tuple(v/255 for v in diccionario[key])
if colors is None:
return diccionario
else:
aux = {col: diccionario[col] for col in colors}
return aux |