ParaMonte MATLAB 3.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
Go to the source code of this file.
Functions | |
function | rgb (in cname) |
Return the RGB triplet corresponding to the input color name cname .More... | |
function rgb | ( | in | cname | ) |
Return the RGB triplet corresponding to the input color name cname
.
The RGB names and triplets are derived from http://en.wikipedia.org/wiki/List_of_colors colormap matrix.
[in] | cname | : The input scalar MATLAB string or char vector containing the color name whose RGB triplet is to be returned. If cname is missing or set to an empty object then the an object of class containers.Map() will be returned containing all color names in the database and the corresponding RGB triplets.All input values are case-insensitive. (optional, default = [] ) |
triplet
: The output vector of length 3
of MATLAB doubles containing the RGB triplet corresponding to the input color name.cname
is missing or set to an empty object then the an object of class containers.Map()
will be returned containing all color names in the database and the corresponding RGB triplets.
Possible calling interfaces ⛓
Example usage ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.