Inspired by the @rl_dane post ( https://polymaths.social/@rl_dane/statuses/01K2HZ6FD6NY14CZS63EPPNKX5) about "Cool computers always have/had a light background. This is where I live now. I ain't movin'" — I remember about some words, I've read in the man 4 vt.

I've already changed default console font via vidcontrol, so why not to try change a colors for the text terminals too? drgn_think_science

There are some sysctl variables, which can be changed via /boot/loader.conf — 16 variables for 8 base colors and for the 8 bright versions of the same colors. And drgn_lurk_notice the same 16 colors are listed in the description of my beloved Solarized color theme!

So, I just entered the necessary hex values to the /boot/loader.conf and rebooted. Result was far from ideal — somehow, the red/blue and cyan/brown colors are swapped (see the pic 1), despite all color codes are matched with corresponding hex color codes drgn_confused .

Ok, I entered blue hex color code to the variable with red code and vice versa. And the text descriptions of colors from "vidcontrol show" got the right colors. Despite, some bright colors displayed as shades of grey (see pic. 2).

Don't know why, maybe it is bug in the Intel's i915kms or in the vt driver drgn_think_confused

The last change I've made — swapped the white and black color definitions to get something like Solarized Light. The result is on the pic. 3 drgn_sparkle

#FreeBSD#Solarized#SolarizedLight #terminal

Configuration in /boot/loader.conf to get a something like SolarizedLight in the text terminals:

######################
# Text console colors:
######################
# 0 - black    8  - grey
# 1 - blue     9  - lightblue
# 2 - green    10 - lightgreen
# 3 - cyan     11 - lightcyan
# 4 - red      12 - lightred
# 5 - magenta  13 - lightmagenta
# 6 - brown    14 - yellow
# 7 - white    15 - lightwhite
#
# Used colortheme: Solarized light
kern.vt.color.0.rgb="#eee8d5"  # black (white IRL)
kern.vt.color.1.rgb="#dc322f"  # blue
kern.vt.color.2.rgb="#859900"  # green
kern.vt.color.3.rgb="#b58900"  # cyan
kern.vt.color.4.rgb="#268bd2"  # red
kern.vt.color.5.rgb="#d33682"  # magenta
kern.vt.color.6.rgb="#2aa198"  # brown
kern.vt.color.7.rgb="#073642"  # white (black IRL)
kern.vt.color.8.rgb="#fdf6e3"  # grey (lightwhite IRL)
kern.vt.color.9.rgb="#cb4b16"  # lightblue
kern.vt.color.10.rgb="#586e75" # lightgreen
kern.vt.color.11.rgb="#657b83" # lightcyan
kern.vt.color.12.rgb="#839496" # lightred
kern.vt.color.13.rgb="#6c71c4" # lightmagenta
kern.vt.color.14.rgb="#93a1a1" # yellow
kern.vt.color.15.rgb="#002b36" # lightwhite (grey IRL)
Configuration in /boot/loader.conf to get a something like SolarizedLight in the text terminals: ###################### # Text console colors: ###################### # 0 - black 8 - grey # 1 - blue 9 - lightblue # 2 - green 10 - lightgreen # 3 - cyan 11 - lightcyan # 4 - red 12 - lightred # 5 - magenta 13 - lightmagenta # 6 - brown 14 - yellow # 7 - white 15 - lightwhite # # Used colortheme: Solarized light kern.vt.color.0.rgb="#eee8d5" # black (white IRL) kern.vt.color.1.rgb="#dc322f" # blue kern.vt.color.2.rgb="#859900" # green kern.vt.color.3.rgb="#b58900" # cyan kern.vt.color.4.rgb="#268bd2" # red kern.vt.color.5.rgb="#d33682" # magenta kern.vt.color.6.rgb="#2aa198" # brown kern.vt.color.7.rgb="#073642" # white (black IRL) kern.vt.color.8.rgb="#fdf6e3" # grey (lightwhite IRL) kern.vt.color.9.rgb="#cb4b16" # lightblue kern.vt.color.10.rgb="#586e75" # lightgreen kern.vt.color.11.rgb="#657b83" # lightcyan kern.vt.color.12.rgb="#839496" # lightred kern.vt.color.13.rgb="#6c71c4" # lightmagenta kern.vt.color.14.rgb="#93a1a1" # yellow kern.vt.color.15.rgb="#002b36" # lightwhite (grey IRL)
List of colors in terminal, issued by vidcontrol show. There are 8 base colors (black, blue, green, cyan, red, magenta, brown and white) and their bright versions (also 8 colors).

The black and white colors are swapped so the colors in terminal looks like Solarized Light color theme.
List of colors in terminal, issued by vidcontrol show. There are 8 base colors (black, blue, green, cyan, red, magenta, brown and white) and their bright versions (also 8 colors). The black and white colors are swapped so the colors in terminal looks like Solarized Light color theme.
List of colors in terminal, issued by vidcontrol show. There are 8 base colors (black, blue, green, cyan, red, magenta, brown and white) and their bright versions (also 8 colors).

It is visible from output that some bright versions of colors are not displayed correctly. The bright- blue, green, cyan, magenta and yellow are displayed as shades of grey.
List of colors in terminal, issued by vidcontrol show. There are 8 base colors (black, blue, green, cyan, red, magenta, brown and white) and their bright versions (also 8 colors). It is visible from output that some bright versions of colors are not displayed correctly. The bright- blue, green, cyan, magenta and yellow are displayed as shades of grey.
List of colors in terminal, issued by vidcontrol show. There are 8 base colors (black, blue, green, cyan, red, magenta, brown and white) and their bright versions (also 8 colors).

It is visible that pairs of red/blue and cyan/yellow are swapped between each other.
List of colors in terminal, issued by vidcontrol show. There are 8 base colors (black, blue, green, cyan, red, magenta, brown and white) and their bright versions (also 8 colors). It is visible that pairs of red/blue and cyan/yellow are swapped between each other.