I feel you :)

Actually yes!

1. For "continuous color scales": (2. For discrete color scales)

2. For discrete color scales:

(Have fun ;))

Answer from Drakax on Stack Overflow
🌐
Plotly
community.plotly.com › 📊 plotly python
Plotly colours list - 📊 Plotly Python - Plotly Community Forum
July 13, 2018 - Hi! I’m working with Python 3 in Jupyter Notebook from the Anaconda distribution. I have a pie chart and I wold like to set the colours of my plot putting them into a list: colors = [‘#FEBFB3’, ‘#E1396C’, ‘#96D38C’, ‘#D…
🌐
Plotly
plotly.com › python › css-colors
Supported css colors in Python
For example, marker colors: ... import plotly.graph_objects as go fig = go.Figure([ go.Bar( x=['Jan', 'Feb', 'Mar', 'Apr'], y=[20, 14, 25, 16], name='Primary Product', # Named CSS color marker_color='royalblue' ) ]) fig.show()
🌐
Plotly
plotly.com › python › builtin-colorscales
Built-in continuous color scales in Python
A reference for the built-in named continuous (sequential, diverging and cyclical) color scales in Plotly.
🌐
GitHub
github.com › plotly › plotly.py › issues › 2192
CSS Named Colors for the Docs · Issue #2192 · plotly/plotly.py
February 13, 2020 - Here is a list of colors matching nicely together, to be used for the tutorials. MidnightBlue / LightSkyBlue Aquamarine / LightSeaGreen Orange / Gold DarkBlue / LightPink DarkBlue / RoyalBlue / Cyan LightSalmon / PaleTurqoise / LightCyan...
Author: plotly
🌐
GeeksforGeeks
geeksforgeeks.org › python › how-to-get-names-of-all-colorscales-in-plotly-python
How to get names of all colorscales in Plotly-Python? - GeeksforGeeks
November 28, 2021 - # import the modules import inspect import plotly.express as px from textwrap import fill # iterating over color module colorscale_names = [] colors_modules = ['carto', 'cmocean', 'cyclical', 'diverging', 'plotlyjs', 'qualitative', 'sequential'] for color_module in colors_modules: colorscale_names.extend([name for name, body in inspect.getmembers(getattr(px.colors, color_module)) if isinstance(body, list)]) print(fill(''.join(sorted({f'{x: <{15}}' for x in colorscale_names})), 75))
🌐
Plotly
plotly.com › python-api-reference › generated › plotly.colors.html
plotly.colors package — 7.1.0 documentation
If ‘scale’ is a specified list, it must be the same length as colors and must contain all floats For documentation regarding to the form of the output, see https://plot.ly/python/reference/#mesh3d-colorscale ... Accepts two color tuples and returns a list of n_colors colors which form the intermediate colors between lowcolor and highcolor from linearly interpolating through RGB space. If colortype is ‘rgb’ the function will return a list of colors in the same form. ... Returns lowercased names of built-in continuous colorscales.
🌐
Plotly
plotly-r.com › working-with-colors.html
27 Working with colors | Interactive web-based data visualization with R, plotly, and shiny
Just like in ggplot2, you’ll have to specify a color in one of the following ways: A hexadecimal string of the form “#rrggbb” or “#rrggbbaa”. Named colors (e.g. “blue”).
Find elsewhere
🌐
Plotly
community.plotly.com › 📊 plotly python
Plotly colours list - #8 by nicolaskruchten - 📊 Plotly Python - Plotly Community Forum
April 23, 2020 - Hi! I’m working with Python 3 in Jupyter Notebook from the Anaconda distribution. I have a pie chart and I wold like to set the colours of my plot putting them into a list: colors = [‘#FEBFB3’, ‘#E1396C’, ‘#96D38C’, ‘#D…
🌐
GitHub
github.com › llovo-code › plotly › blob › master › plotly › colors.py
plotly/plotly/colors.py at master · llovo-code/plotly
:param (str|tuple|list) colors: either a plotly scale name, an rgb or hex · color, a color tuple or a list/tuple of colors · """ colors_list = [] · # if colors is a single color, put into colors_list · if isinstance(colors, str): if colors in PLOTLY_SCALES: return ·
Author: llovo-code
🌐
Topologic
topologic.app › topologicpy_doc › topologic_pdoc › Color.html
Color API documentation
The default is 1.0. useAlpha : bool , optional If set to True, the returns list includes the alpha value as a fourth element in the list. colorScale : str , optional The desired type of plotly color scales to use (e.g. "Viridis", "Plasma"). The default is "Viridis". For a full list of names, see https://plotly.com/python/builtin-colorscales/. Returns ------- list The color expressed as an [r, g, b] or an [r, g, b, a] list.
🌐
Plotly
plotly.com › python › discrete-color
Discrete colors in Python
Legends are configurable under the layout.legend attribute. Legends are the discrete equivalent of continuous color bars · Most Plotly Express functions accept a color argument which automatically assigns data values to discrete colors if the data is non-numeric.
🌐
Plotly
community.plotly.com › 📊 plotly python
Plotly color package : named CSS color parser - 📊 Plotly Python - Plotly Community Forum
May 5, 2021 - Hi there, I try to find the way Plotly parses CSS named colors. My intention is to create a quick function that create a rgba version of the underlying rgb value of those colors. Here is my idea : my func get a color name : 'darkgoldenrod' it translates the name into rgb ' rgb(184, 134, 11)' ...
🌐
RStudio
rstudio-pubs-static.s3.amazonaws.com › 448200_6bb02977b4c04e0da508ac0131f71d48.html
Plotly colors and RColorBrewer - AWS
There are several color sets available in Plotly. These include Set1 Set2 Set3 Pastel1 Pastel2 Paired Dark2 Accent qualitative palettes, many sequential light to dark palettes, and even more dark-to-light-to-dark palettes.
Top answer
1 of 1
3
Thanks for the list of available colours above. · I made a simple table based on the list to quickly see what the colours look like: · def show_named_plotly_colours(): · """ · function to display to user the colours to match plotly's named · css colours. · Reference: · #https://community.plotly.com/t/plotly-colours-list/11730/3 · Returns: · plotly dataframe with cell colour to match named colour name · """ · s=''' · aliceblue, antiquewhite, aqua, aquamarine, azure, · beige, bisque, black, blanchedalmond, blue, · blueviolet, brown, burlywood, cadetblue, · chartreuse, chocolate, coral, cornflowerblue, · cornsilk, crimson, cyan, darkblue, darkcyan, · darkgoldenrod, darkgray, darkgrey, darkgreen, · darkkhaki, darkmagenta, darkolivegreen, darkorange, · darkorchid, darkred, darksalmon, darkseagreen, · darkslateblue, darkslategray, darkslategrey, · darkturquoise, darkviolet, deeppink, deepskyblue, · dimgray, dimgrey, dodgerblue, firebrick, · floralwhite, forestgreen, fuchsia, gainsboro, · ghostwhite, gold, goldenrod, gray, grey, green, · greenyellow, honeydew, hotpink, indianred, indigo, · ivory, khaki, lavender, lavenderblush, lawngreen, · lemonchiffon, lightblue, lightcoral, lightcyan, · lightgoldenrodyellow, lightgray, lightgrey, · lightgreen, lightpink, lightsalmon, lightseagreen, · lightskyblue, lightslategray, lightslategrey, · lightsteelblue, lightyellow, lime, limegreen, · linen, magenta, maroon, mediumaquamarine, · mediumblue, mediumorchid, mediumpurple, · mediumseagreen, mediumslateblue, mediumspringgreen, · mediumturquoise, mediumvioletred, midnightblue, · mintcream, mistyrose, moccasin, navajowhite, navy, · oldlace, olive, olivedrab, orange, orangered, · orchid, palegoldenrod, palegreen, paleturquoise, · palevioletred, papayawhip, peachpuff, peru, pink, · plum, powderblue, purple, red, rosybrown, · royalblue, saddlebrown, salmon, sandybrown, · seagreen, seashell, sienna, silver, skyblue, · slateblue, slategray, slategrey, snow, springgreen, · steelblue, tan, teal, thistle, tomato, turquoise, · violet, wheat, white, whitesmoke, yellow, · yellowgreen · ''' · li=s.split(',') · li=[l.replace('\n','') for l in li] · li=[l.replace(' ','') for l in li] · import pandas as pd · import plotly.graph_objects as go · df=pd.DataFrame.from_dict({'colour': li}) · fig = go.Figure(data=[go.Table( · header=dict( · values=["Plotly Named CSS colours"], · line_color='black', fill_color='white', · align='center', font=dict(color='black', size=14) · ), · cells=dict( · values=[df.colour], · line_color=[df.colour], fill_color=[df.colour], · align='center', font=dict(color='black', size=11) · )) · ]) · fig.show() · image1879×507 22.6 KB
🌐
Plotly
plotly.com › python › templates
Theming and templates in Python
Over 25 examples of Theming and templates including changing color, size, log axes, and more in Python.
🌐
GeeksforGeeks
geeksforgeeks.org › python › built-in-continuous-color-scales-in-python-plotly
Built-in Continuous Color Scales in Python Plotly - GeeksforGeeks
July 23, 2025 - A color continuous scale input is accepted by several Plotly Express functions, and many trace types have a color scale property in their schema. Plotly has a wide variety of built-in continuous color scales that can be referenced in Python code when specifying the arguments, either by name or by reference.
🌐
Plotly
plotly.com › python-api-reference › generated › plotly.express.colors.html
plotly.express.colors package — 7.1.0 documentation
If ‘scale’ is a specified list, it must be the same length as colors and must contain all floats For documentation regarding to the form of the output, see https://plot.ly/python/reference/#mesh3d-colorscale ... Accepts two color tuples and returns a list of n_colors colors which form the intermediate colors between lowcolor and highcolor from linearly interpolating through RGB space. If colortype is ‘rgb’ the function will return a list of colors in the same form. ... Returns lowercased names of built-in continuous colorscales.