bokeh.colors.Color
This is the base class representing the color objects. The methods in this class are :
- clamp()
- copy()
- darken()
- from_hsl()
- from_rgb()
- lighten()
- to_css()
- to_hsl()
- to_rgb()
Python Bokeh – Colors Class
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity.
In this article, we will learn about colors in Bokeh. There are 5 different classes for colors in Bokeh :
- bokeh.colors.Color
- bokeh.colors.HSL
- bokeh.colors.RGB
- bokeh.colors.groups
- bokeh.colors.names