What is the RGB code of tytle stile color in matlab .mlx file?

I want to reproduce this color in my LaTex document, where I've copied my matlab script and I need the RGB code of this sort of orange:

 Réponse acceptée

DGM
DGM le 24 Mar 2021
Modifié(e) : DGM le 24 Mar 2021
I'm not sure if you're asking for a programmatic way of extracting the color or if you just want the color tuple itself.
Assuming you just want the color tuple, it appears to be:
  • 0xD55000 <-- if you want it in hex
  • [213 80 0] <-- if you want it in uint8
  • [0.83529 0.31373 0] <-- if you want it as a normalized float
I don't have a copy of the document, so I can't be any more certain than that.
EDIT: looking around at some other .mlx files on the FEX, this does appear to be the correct color tuple.

2 commentaires

Don't worry, I have used the normalized triplet and it works!
Awesome

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Scripts dans Centre d'aide et File Exchange

Produits

Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by