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:

 採用された回答

DGM
DGM 2021 年 3 月 24 日
編集済み: DGM 2021 年 3 月 24 日

1 投票

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 件のコメント

Giuseppe
Giuseppe 2021 年 3 月 25 日
Don't worry, I have used the normalized triplet and it works!
DGM
DGM 2021 年 3 月 25 日
Awesome

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Scripts についてさらに検索

製品

リリース

R2020b

質問済み:

2021 年 3 月 23 日

コメント済み:

DGM
2021 年 3 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by