Website Color Updates

Now with less eyestrain, maybe.
 Posted November 13, 2022 (Updated November 25, 2022)

The other day I was reading some on color schemes (specifically discussion of Solarized), this lead into a bit of a rabbit hole of links to other well-thought-through colors schemes (including Selenized, Gruvbox and Penumbra).

For my text editor purposes I will often (even prior to this) use Solarized Dark, but have had some issues with its contrast when using minimal backlight (This editor was recently changed to Cobalt for this very reason—I just noticed and changed it back). The Selenized theme claims that this lack of contrast in Solarized was one of the reasons it exists, however I found it to look… kinda ugly.

But then, I found Penumbra, whose first sample images are both higher contrast and visually appealing. Further reading showed that Penumbra has well-balanced colors, and several more-enhanced contrast modes.

It occurred to me that I hadn’t paid too much attention to the colors on this website, and no attention to the dark mode colors. So, I’ve attempted to adapt Penumbra’s Contrast++ to this website, I had difficulty reading the lower contrast version without having to specially adapt the dark and light modes. The current color scheme allows using the same seven primary colors in both dark and light modes, with merely reversing the order in which they are used (excepting the foot icons… for now).

For more colorful elements (such as links) I’ve used some of colors from the six-color accent palette. Penumbra attempts to evenly space the accent colors, I’d like to space out a set of four-ish colors for the website (needing more seems unlikely), but that’s a future thing.

 

NameContrast++Dark Mode UsageLight Mode Usage
sun+#FFFDFBWhite image backgroundWhite image background
sun#FFF7EDHighlight background, preformatted textMain Background, disabled inputs
sun-#F2E6D4BordersNavbar, footer, inputs
sky+#DEDEDEMain TextHighlight Text, preformatted background
sky#AEAEAEMuted text, post meta, image selection, placeholder textMuted text, post meta, image selection, placeholder text
sky-#636363Highlight Text, preformatted backgroundMain Text
shade+#3E4044Navbar, footer, inputsBorders
shade#181B1FMain Background, footer icons, disabled inputsHighlight background, footer icons, preformatted text

 

nameAccent-6Usage
red#CB7459Visited links
cyan#00B0D2Hovered links, focused links
blue#8C96ECTags, links
magenta#D07EBACode

Hugo Tests

This is the details shortcode

It has some details inside of a div, and runs the summary through safeHTML.

Not sure if that helps anything.

 
This is the details shortcode with no summary.

A quote, but not just a
Quote, but in fact a
Blockquote. Yes, a
Blockquote with a
Citation.

Me, 2022

This is column 1.
This is column 2.
This is column 3.


Night view of Earth from International Space Station, curve of earth intercepted by ISS solar panel in top half, city lights visiable along unknown coastline.
View of Earth taken during ISS Expedition 53.

Earth Science and Remote Sensing Unit, NASA Johnson Space Center

The rest of this page is derived from "Drop-in Minimal CSS" by dohliam originally under the MIT License.
This provides a set most HTML tags for visual inspection with this site's CSS.

Text

Headings

Heading 1

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc viverra viverra nisl, vel maximus turpis ornare a. Ut scelerisque lectus sed odio dictum scelerisque vitae quis nisi.

Heading 2

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc viverra viverra nisl, vel maximus turpis ornare a. Ut scelerisque lectus sed odio dictum scelerisque vitae quis nisi.

Heading 3

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc viverra viverra nisl, vel maximus turpis ornare a. Ut scelerisque lectus sed odio dictum scelerisque vitae quis nisi.

Heading 4

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc viverra viverra nisl, vel maximus turpis ornare a. Ut scelerisque lectus sed odio dictum scelerisque vitae quis nisi.
Heading 5
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc viverra viverra nisl, vel maximus turpis ornare a. Ut scelerisque lectus sed odio dictum scelerisque vitae quis nisi.
Heading 6 (followed by Paragraph)

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc viverra viverra nisl, vel maximus turpis ornare a. Ut scelerisque lectus sed odio dictum scelerisque vitae quis nisi.

Nulla facilisi. Phasellus vehicula convallis nisl, id suscipit dui semper at. In eu iaculis lorem. In vehicula sed mauris et suscipit.

Heading 6 (followed by text)
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc viverra viverra nisl, vel maximus turpis ornare a. Ut scelerisque lectus sed odio dictum scelerisque vitae quis nisi.

Paragraphs

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc viverra viverra nisl, vel maximus turpis ornare a. Ut scelerisque lectus sed odio dictum scelerisque vitae quis nisi. Nulla facilisi. Phasellus vehicula convallis nisl, id suscipit dui semper at. In eu iaculis lorem. In vehicula sed mauris et suscipit. Vivamus pellentesque non massa sit amet ornare. Integer placerat est vitae nisl molestie, eget rhoncus erat vulputate. Proin ornare massa eget bibendum faucibus.

Asides

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc viverra viverra nisl, vel maximus turpis ornare a. Ut scelerisque lectus sed odio dictum scelerisque vitae quis nisi. Nulla facilisi. Phasellus vehicula convallis nisl, id suscipit dui semper at. In eu iaculis lorem. In vehicula sed mauris et suscipit. Vivamus pellentesque non massa sit amet ornare. Integer placerat est vitae nisl molestie, eget rhoncus erat vulputate. Proin ornare massa eget bibendum faucibus.

Sodales purus inceptos sagittis congue eu cum molestie dapibus mauris torquent elementum, class massa ultrices nisi vel odio sem tristique velit tincidunt ultricies risus, nulla maecenas facilisis volutpat ipsum senectus eros commodo taciti nisl. Nullam suspendisse maecenas taciti facilisi erat eget hac elit velit metus, sociosqu sagittis facilisis pretium phasellus laoreet interdum habitant ante, commodo vestibulum elementum nostra proin praesent leo parturient varius. Platea cum litora tincidunt fermentum habitant felis primis nibh vulputate eros, habitasse ornare mi adipiscing volutpat feugiat viverra magnis cubilia, tortor gravida urna lacus suscipit aenean consectetur sociosqu accumsan. Facilisis nullam lobortis phasellus magnis urna laoreet ut fermentum parturient, ante sagittis maecenas varius risus at feugiat ullamcorper nam, malesuada ad blandit sollicitudin per commodo sociis accumsan. Nascetur molestie platea vitae mollis lorem aptent consectetur enim consequat inceptos, tellus commodo dui quam pretium proin lobortis interdum. Nullam risus aliquet adipiscing habitant porttitor semper vulputate iaculis tempus, pellentesque cum aenean vehicula tincidunt sociosqu imperdiet egestas sem, facilisis turpis montes mus natoque dolor curae condimentum. Lobortis ac molestie dictum augue nostra adipiscing ut libero eget non curae, tellus pellentesque nam aptent inceptos mauris dictumst luctus elit per, rutrum ornare consequat montes placerat dapibus senectus ad a leo.

Scelerisque sollicitudin vulputate non penatibus nulla arcu tempus nostra, tincidunt ante etiam parturient amet curabitur rutrum montes, aenean varius purus dignissim mauris donec taciti. Ultricies hendrerit maecenas turpis tristique laoreet pretium netus malesuada lobortis ullamcorper class magna ligula, litora urna mauris nascetur semper praesent in bibendum lorem rutrum tortor. Per sociosqu turpis amet velit dictum id congue nisl quam torquent, vel adipiscing lobortis vehicula dignissim ad malesuada scelerisque mi, at faucibus facilisis platea quisque gravida aptent auctor pharetra. Enim volutpat in integer posuere nunc potenti mus, cras magna vestibulum lacus mattis ullamcorper convallis fermentum, aliquet odio blandit phasellus proin purus. In cursus potenti rhoncus consequat bibendum quam neque aliquam ultrices ut, sollicitudin cubilia ligula quisque nam faucibus lacus nullam etiam, et magnis curabitur nibh vivamus senectus arcu inceptos habitant. Nulla vivamus tempus viverra ipsum risus ornare ac etiam, mattis primis lobortis accumsan ante urna aliquam massa felis, cum egestas nostra phasellus volutpat imperdiet elementum. Auctor taciti habitant ultrices integer mattis faucibus vitae, vehicula imperdiet dis ut luctus molestie, facilisi semper class montes ipsum vulputate.

Blockquotes

Etiam porttitor egestas elit, at venenatis neque accumsan eu. Nulla viverra odio nisi, quis commodo tellus tristique non. Proin ac ante at orci euismod eleifend. Quisque nisi sapien, dapibus in venenatis sit amet, posuere non purus. In sit amet metus erat. Pellentesque nec neque eleifend, luctus ipsum at, ullamcorper nunc. Pellentesque sagittis, dolor eu bibendum lacinia, orci ex bibendum risus, at tincidunt augue lacus eleifend diam. Nulla facilisis velit ut est auctor sollicitudin. Morbi eget lectus a lacus maximus molestie in ut lorem.

Vestibulum ut erat sapien. Duis eros est, tempus a rutrum eu, rhoncus at ante. Vestibulum congue vel nunc et dapibus. Ut tristique facilisis orci ac pretium. Nunc et sodales turpis. Nulla pretium augue vitae faucibus tempor. Aliquam convallis mollis feugiat. Ut non pellentesque sem. Suspendisse interdum, neque at hendrerit varius, enim neque imperdiet enim, pellentesque efficitur leo orci non erat.

Said no one, ever.

Lists

Definition list

Definition List Title
This is a definition list division.

Ordered List

  1. List Item 1
  2. List Item 2
  3. List Item 3
    1. Nested Ordered List Item 3.1
    2. Nested Ordered List Item 3.2
    3. Nested Ordered List Item 3.3
  4. List Item 4
    • Nested Unordered List Item 4.1
    • Nested Unordered List Item 4.2
    • Nested Unordered List Item 4.3

Unordered List

  • List Item 1
  • List Item 2
  • List Item 3
    1. Nested Ordered List Item 3.1
    2. Nested Ordered List Item 3.2
    3. Nested Ordered List Item 3.3
  • List Item 4
    • Nested Unordered List Item 4.1
    • Nested Unordered List Item 4.2
    • Nested Unordered List Item 4.3

Details & Summary

This is a detail This is its contents.
This is another detail This is more contents.

Tabular data

Table Caption
Table Heading 1Table Heading 2Table Heading 3Table Heading 4Table Heading 5
Table Footer 1Table Footer 2Table Footer 3Table Footer 4Table Footer 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5

Code

Keyboard input: Cmd

Inline code: <div>code</div>

Sample output: This is sample output from a computer program.

Pre-formatted text

  P R E F O R M A T T E D T E X T
  ! " # $ % & ' ( ) * + , - . /
  0 1 2 3 4 5 6 7 8 9 : ; < = > ?
  @ A B C D E F G H I J K L M N O
  P Q R S T U V W X Y Z [ \ ] ^ _
  ` a b c d e f g h i j k l m n o
  p q r s t u v w x y z { | } ~ 

Pre-formatted Code

int main(){
   printf('hello world');
   return 0;
}
              

Inline elements

This is a text link.
Strong is used to indicate strong importance.
This text has added emphasis.
The b element is stylistically different text from normal text, without any special importance.
The i element is text that is offset from the normal text.
The u element is text with an unarticulated, though explicitly rendered, non-textual annotation.
This text is deleted and This text is inserted.
This text has a strikethrough.
Superscript®.
Subscript for things like H2O.
This small text is small for for fine print, etc.
Abbreviation: HTML
This text is a short inline quotation.
This is a citation.
The dfn element indicates a definition.
The mark element indicates a highlight.
The variable element, such as x = y.
The time element:

Embedded content

Images

No <figure> element

Colouring pencils by MichaelMaggs

Wrapped in a <figure> element, no <figcaption>

Coloured, textured craft card by MichaelMaggs

Wrapped in a <figure> element, with a <figcaption>

Opening chess position from black side by MichaelMaggs
Here is a caption for this image.

Form elements

Input fields

[Top]

Select menus

[Top]

Checkboxes

[Top]

Radio buttons

[Top]

Textareas

[Top]

HTML5 inputs

[Top]

Action buttons

Fake Action button

[Top]