Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions src/cmap/data/ibm/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
ibm_light = [
[105, 41, 196], # Purple 70
[17, 146, 232], # Cyan 50
[0, 93, 93], # Teal 70
[159, 24, 83], # Magenta 70
[250, 77, 86], # Red 50
[87, 4, 8], # Red 90
[25, 128, 56], # Green 60
[0, 45, 156], # Blue 80
[238, 83, 139], # Magenta 50
[178, 134, 0], # Yellow 50
[0, 157, 154], # Teal 50
[1, 39, 73], # Cyan 90
[138, 56, 0], # Orange 70
[165, 110, 255], # Purple 50
]

ibm_dark = [
[138, 63, 252], # Purple 60
[51, 177, 255], # Cyan 40
[0, 125, 121], # Teal 60
[255, 126, 182], # Magenta 40
[250, 77, 86], # Red 50
[255, 241, 241], # Red 10
[111, 220, 140], # Green 30
[69, 137, 255], # Blue 50
[209, 39, 113], # Magenta 60
[210, 161, 6], # Yellow 40
[8, 189, 186], # Teal 40
[186, 230, 255], # Cyan 20
[186, 78, 0], # Orange 60
[212, 187, 255], # Purple 30
]
17 changes: 17 additions & 0 deletions src/cmap/data/ibm/record.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"authors": [],
"category": "qualitative",
"colormaps": {
"ibm_dark": {
"data": "cmap.data.ibm:ibm_dark",
"interpolation": false
},
"ibm_light": {
"data": "cmap.data.ibm:ibm_light",
"interpolation": false
}
},
"info": "Color palettes for data visualizations from the IBM Design Language. Designed to maximize accessibility and harmony within a page.",
"namespace": "ibm",
"source": "https://carbondesignsystem.com/data-visualization/color-palettes/#categorical-palettes"
}