colors/mod.ts: brightBlue looks more like magenta
See original GitHub issueDescribe the bug
Using the color std module. If you want to output brightBlue the output txt looks (almost) like magenta. bgBlue, bgBrightBlue, blue work ok
Steps to Reproduce
console.log("brightBlue", brightBlue("brightBlue"));
Expected behavior
The output should look like (bright) blue
Environment
- OS: macOS Ventura 13.1
- deno version: 1.29.1 (release, aarch64-apple-darwin)
- std version: 0.164.0
Issue Analytics
- State:
- Created 9 months ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Magenta: The Color That Doesn't Exist And Why - Medium
I'm sure you recognize magenta — it's that color that's a mix between purple and red. It's sort of pinkish-purple, and looks something...
Read more >Pantone's 2023 color of the year is 'Viva Magenta' - NPR
After much research and consideration, the Pantone Color Institute has revealed the color of the year for 2023. It calls Viva Magenta "an ......
Read more >Magenta Highlights on Midnight Blue Hair - Pinterest
Jun 9, 2020 - Magenta hair colors are hot this year! Click here if you're ready to make an exciting change with one...
Read more >Viva Magenta is Pantone's color for 2023. It's the powerful red ...
The 2023 Pantone Color of the Year is Viva Magenta, hybrid red that mixes the excitement of crimson and the calmness of blue...
Read more >2023 Color Of The Year Viva Magenta Meaning Explained
It is not as mauve as a true fuchsia, not as orange as scarlet, and not as primary as Pantone's Period, a shade...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This is a valid behavior then. Based on your output, this is exactly how it should look for
xterm, see: https://en.wikipedia.org/wiki/ANSI_escape_code#3-bit_and_4-bit You can either change your term toscreen-256colorwhich will give you a different set of colors, or modify settings of your terminal emulator to update color codes for the one you want. This is a user-specific configuration and escape codes are standardized, so there’s nothing we can change here tbh.I think @kamilogorek has done a pretty good job explaining why this is pretty much unactionable.
Unless @sspilleman has a proposal for what can be done, I think this issue should be closed as an issue with terminal.app and not with the deno std.