Created
August 13, 2023 14:09
-
-
Save Dobby233Liu/3b1f44c3905b7cec089e03df532a365a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<title>Undertale text color explaination</title> | |
<style> | |
html { background-color: black; } | |
body { | |
width: 480px; | |
margin: 0; padding: 0.8em; | |
background-color: #5c5c5c; color: white; | |
font-size: 16px; font-family: 'Segoe UI', Tahoma, Verdana, sans-serif; | |
} | |
body > p:first-child { margin-block-start: 0; } | |
.cols { display: flex; flex-wrap: wrap; } | |
.cols > div { | |
flex: 50%; | |
font-size: 1.6em; color: var(--color); | |
font-family: 'Courier New', Courier, monospace; margin: 0.2em 0; | |
} | |
.cols > div:before { | |
display: inline-block; content: ''; | |
width: 1em; height: 1em; | |
background-color: var(--color); | |
vertical-align: text-top; margin-right: 0.5em; | |
} | |
.col-sub { | |
color: lightgray; font-size: 0.6em; | |
font-family: initial; | |
} | |
.col-sub:before { content: " - "; } | |
</style> | |
</head> | |
<body> | |
<p> | |
In situations where <code>obj_base_writer</code> is concerned, | |
put <code><span style="color:red">\</span>\[color]</code> in your text, | |
with <code>[color]</code> being one of the following: | |
</p> | |
<div class="cols"> | |
<div style="--color: rgb(255, 0, 0)">R<span class="col-sub">c_red</span></div> | |
<div style="--color: rgb( 0,255, 0)">G<span class="col-sub">c_lime</span></div> | |
<div style="--color: rgb(255,255,255)">W<span class="col-sub">c_white</span></div> | |
<div style="--color: rgb(255,255, 0)">Y<span class="col-sub">c_yellow</span></div> | |
<div style="--color: rgb( 0, 0, 0)">X<span class="col-sub">c_black</span></div> | |
<div style="--color: rgb( 0, 0,255)">B<span class="col-sub">c_blue</span></div> | |
<div style="--color: rgb(255,160, 64)">O<span class="col-sub">c_orange</span></div> | |
<div style="--color: rgb( 14,192,253)">L<span class="col-sub">$FDC00E</span></div> | |
<div style="--color: rgb(255, 0,255)">P<span class="col-sub">c_fuchsia</span></div> | |
<div style="--color: rgb(255,187,212)">p<span class="col-sub">$D4BBFF</span></div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment