Skip to content

colorcet:CET_I3#

Aliases: colorcet:i03, colorcet:i3, colorcet:isoluminant_cm_70_c39_n256

Isoluminant blue to pink at lightness 70. Poor on its own but works well with relief shading

collection category license authors source
colorcet Miscellaneous CC-BY-4.0 Peter Kovesi https://colorcet.com
from cmap import Colormap

cm = Colormap("colorcet:CET_I3")  # case insensitive
import matplotlib.pyplot as plt
from cmap import Colormap

plt.imshow(data, cmap=Colormap("colorcet:CET_I3").to_mpl())
import plotly.express as px
from cmap import Colormap

px.imshow(data, color_continuous_scale=Colormap("colorcet:CET_I3").to_plotly())
import napari
from cmap import Colormap

napari.imshow(data, colormap=Colormap("colorcet:CET_I3").to_napari())
napari.run()
background: #14BAE6;
background: linear-gradient(90deg, #14BAE6 0%, #2FB8E7 3.22581%, #3FB7E8 6.45161%, #4CB6E9 9.67742%, #57B4EA 12.9032%, #61B3EA 16.129%, #6AB2EB 19.3548%, #73B0EC 22.5806%, #7BAFEC 25.8065%, #83ADEC 29.0323%, #8BABEC 32.2581%, #92AAEC 35.4839%, #9AA8EB 38.7097%, #A1A6EA 41.9355%, #A8A4E8 45.1613%, #AFA2E6 48.3871%, #B5A0E4 51.6129%, #BC9FE1 54.8387%, #C29DDD 58.0645%, #C89BDA 61.2903%, #CD99D7 64.5161%, #D297D3 67.7419%, #D796CF 70.9677%, #DC94CC 74.1935%, #E192C8 77.4194%, #E590C4 80.6452%, #EA8EC0 83.871%, #EE8DBD 87.0968%, #F28BB9 90.3226%, #F689B5 93.5484%, #FA87B1 96.7742%, #FE85AD 100%);
import altair as alt
from cmap import Colormap

# df: a DataFrame with columns x, y and value
alt.Chart(df).mark_rect().encode(
    x="x:O",
    y="y:O",
    color=alt.Color(
        "value:Q", scale=alt.Scale(range=Colormap("colorcet:CET_I3").to_altair())
    ),
)
from bokeh.plotting import figure, show
from cmap import Colormap

p = figure()
p.image(
    image=[data], x=0, y=0, dw=1, dh=1,
    color_mapper=Colormap("colorcet:CET_I3").to_bokeh(),
)
show(p)
from vispy import app, scene
from cmap import Colormap

canvas = scene.SceneCanvas(show=True)
view = canvas.central_widget.add_view()
scene.visuals.Image(data, cmap=Colormap("colorcet:CET_I3").to_vispy(), parent=view.scene)
view.camera = scene.PanZoomCamera(aspect=1)
view.camera.set_range()
app.run()
import pygfx as gfx
from cmap import Colormap

image = gfx.Image(
    gfx.Geometry(grid=gfx.Texture(data, dim=2)),
    gfx.ImageBasicMaterial(
        clim=(data.min(), data.max()), map=Colormap("colorcet:CET_I3").to_pygfx()
    ),
)
gfx.show(image)
import pyqtgraph as pg
from cmap import Colormap

view = pg.image(data)
view.setColorMap(Colormap("colorcet:CET_I3").to_pyqtgraph())
pg.exec()
import ee
from cmap import Colormap

ee.Initialize(project="my-project")  # your Google Cloud project
elevation = ee.Image("CGIAR/SRTM90_V4")
image = elevation.visualize(
    min=0, max=3000, palette=Colormap("colorcet:CET_I3").to_gee()
)

See also usage with external libraries.

colorcet:CET_I3colorcet:CET_I3 colormap
colorcet:CET_I3colorcet:CET_I3 colormap

Perceptual lightness#

Lightness (J′) measured in CAM02 Uniform Color Space (CAM02-UCS)

RGB components#

Hue & saturation#