Bichromatic colormap for real2rgb

Takes 2 RGB colors and returns a map or truecolor image. Same options as the colormaps from real2rgb

You are now following this Submission

Takes 2 RGB colors and returns a map or truecolor image. Same options as the colormaps from real2rgb

Based on real2rgb and the associated private functions. See Oliver Woodford's submission.

Instead of making a map for every unique combination of 2 colors I made 1 function that takes 2 colors as input.

E.g. map = bichromatic(cols);
See comment section in code for specifics

Cite As

Jurgen (2026). Bichromatic colormap for real2rgb (https://www.mathworks.com/matlabcentral/fileexchange/39825-bichromatic-colormap-for-real2rgb), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: real2rgb & colormaps

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0