Convert ColorSpec string to RGB triplet
Given a ColorSpec string, either in short or long form, return the corresponding RGB triplet. If the input is not a valid color,...
RGB to CMYK
Convert an RGB code to the corresponding CMYK code for printing.
The RGB input is a [1×3] double array between 0 and 1.
...
5 years ago
Solved
random picture with random colours
write a function which creates a random(x,y) matrix with random RGB colours
for example create_pic(5,5) gives us a 3d matrix.
...
5 years ago
Solved
Make blocks of color
Given a (Nx3) sequence of RGB colors, I want to create a (numRowBlocks x numColBlocks x 3) image comprising (blockSize x blockSi...