package timelinelib.canvas.drawing.drawers

timelinelib.canvas.drawing.drawers.GRAY_FACTOR = 1.2
timelinelib.canvas.drawing.drawers.LUMINENCE_FACTOR = 0.8
timelinelib.canvas.drawing.drawers.get_progress_color(base_color)[source]

Return a color that is slightly brighter then the base_color. For shades of gray the constant GRAY_FACTOR decides the brightness. Higher factor gives more brightness. For other colors the LUMINENCE_FACTOR decides the brightness. Smaller factor gives more brightness.