This page demonstrates HTML font colors in a text browser!
The <font color> tag was part of HTML since 1997, but text browsers never rendered it. Until now!
DBBasic TextBrowser bridges the gap between HTML colors and terminal colors, creating what could have been: a colorful BBS-style web.
Red - Errors, warnings, important notices
Green - Success, confirmation, positive actions
Blue - Information, links, neutral content
Yellow - Caution, highlights, attention
Cyan - Secondary information, metadata
Magenta - Special content, emphasis
White - Default text, primary content
Black - (May not be visible on dark backgrounds)
Orange - Warnings (maps to yellow/red)
Purple - Special content (maps to magenta)
Pink - Highlight (maps to magenta)
Brown - Neutral (maps to yellow)
Gray - Muted content (maps to white/black)
Grey - British spelling also works!
✓ SUCCESS: Your changes have been saved.
✗ ERROR: Unable to connect to server.
⚠ WARNING: This action cannot be undone.
ℹ INFO: You have 3 unread messages.
function calculateTotal() {
return price * quantity;
}
Server Status: ● ONLINE
Database Status: ● ONLINE
Cache Status: ● DEGRADED
Backup Status: ● OFFLINE
[2025-01-28 14:32:01] INFO Server started on port 8080
[2025-01-28 14:32:15] DEBUG Processing request from 192.168.1.1
[2025-01-28 14:32:16] WARN Slow query detected (2.3s)
[2025-01-28 14:32:20] ERROR Connection timeout
documents/ - Directory
script.sh* - Executable
readme.txt - Text file
config.json - Config file
secret.key - Important file
Download: ████████████████████ 100%
Upload: ███████████░░░░░░░░░ 55%
Install: ███░░░░░░░░░░░░░░░░░ 15%
In the 1980s and 90s, BBS systems used ANSI color codes to create vibrant, colorful text interfaces.
In 1997, HTML added the <font color> tag.
But text browsers like Lynx never implemented it.
Why not? They had all the technology:
The result: The text web remained monochrome while BBSes were colorful.
Until now. DBBasic TextBrowser brings color to the text web.
Terminal color palette (8 basic + bright variants):
Colorful text in a terminal!
___
/ \
| O O | DBBasic TextBrowser
\___/ Bringing color to the text web
| |
/ \
<span class="text-red-500 font-bold bg-gray-100 px-4 py-2 rounded-lg">Error</span>
<font color="red">Error</font>
What if the web had embraced terminal colors?
Press Ctrl-K to go anywhere | Press H for help | Press Q to quit
DBBasic TextBrowser - The colorful text web that should have existed