Convert an RGB code to the corresponding CMYK code for printing.

The RGB input is a [1×3] double array between 0 and 1.

CMYK must be a [1×4] double array between 0 and 1.

Solution Stats

363 Solutions

132 Solvers

Last Solution submitted on Nov 29, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers132

Suggested Problems

More from this Author9

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!