Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RGB colors are not translated correctly #128

Closed
sedrubal opened this issue Apr 9, 2021 · 3 comments
Closed

RGB colors are not translated correctly #128

sedrubal opened this issue Apr 9, 2021 · 3 comments

Comments

@sedrubal
Copy link

sedrubal commented Apr 9, 2021

Using this example file: cyan.txt

$ cat cyan.txt | ansi2html --inline

Produces a random color and does not use the original one (cyan #9bf6ff):

<span style="color: #afff5f">I am cyan (#9bf6ff)</span>

For latex the same wrong color is used:

cat tmp | ansi2html --inline --latex
\textcolor[HTML]{afff5f}{I am cyan (#9bf6ff)}
@sedrubal
Copy link
Author

sedrubal commented Apr 9, 2021

This might be a duplicate of #101

@ssbarnea
Copy link
Member

If you have a passing PR, ping me.

@ziegenberg
Copy link
Collaborator

This is a duplicate of #101. Ansi2html currently does not support truecolor codes. I'd suggest closing this issue in favor of #101.

@ssbarnea ssbarnea closed this as completed Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants