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:

 Accepted Answer

DGM
DGM on 24 Mar 2021
Edited: DGM on 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 Comments

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

Sign in to comment.

More Answers (0)

Products

Release

R2020b

Asked:

on 23 Mar 2021

Commented:

DGM
on 25 Mar 2021

Community Treasure Hunt

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

Start Hunting!