pink

Sepia-toned colormap that goes from black through pink to white.

Category: Graphics > Formatting and Annotation

Syntax

map = pink

Returns a pink colormap with the default number of rows.

map = pink(m)

Returns a pink colormap with m rows.

Description

The map is a gray ramp with a warm tint, built by mixing the gray colormap with a map that favors red. It gives images and surfaces an old-photograph look and keeps a monotonic brightness, so it prints well in grayscale.

Input arguments

m
Number of colors, a nonnegative integer.

Output arguments

map
m-by-3 matrix of RGB values between 0 and 1.

Example

Three pink shades

pink(3)
Output
ans = 3×3

    0.5774         0         0
    0.8165    0.8165    0.5774
    1.0000    1.0000    1.0000

See also

gray bone copper colormap hot