Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
hex = '#0000FF';
rgb = [0 0 1];
assert(isequal(color_hex2rgb(hex),rgb))
rgb =
0 0 1
|
2 | Pass |
hex = '#33FF00';
rgb = [0.2 1 0];
assert(isequal(color_hex2rgb(hex),rgb))
rgb =
0.2000 1.0000 0
|
3 | Pass |
hex = '#FFCCFF';
rgb = [1 0.8 1];
assert(isequal(color_hex2rgb(hex),rgb))
rgb =
1.0000 0.8000 1.0000
|
4 | Pass |
hex = '#999999';
rgb = [.6 .6 .6];
assert(isequal(color_hex2rgb(hex),rgb))
rgb =
0.6000 0.6000 0.6000
|
Determine whether a vector is monotonically increasing
11922 Solvers
3238 Solvers
2183 Solvers
Back to basics 20 - singleton dimensions
254 Solvers
965 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!