SiteStyleGuide

Unofficial A style guide made by SiteStyleGuide from css-tricks.com’s public web pages. Not affiliated with or endorsed by CSS-Tricks. The real site is css-tricks.com ↗

CSS-Tricks logo

Unofficial style guide

CSS-Tricksstyle guide

CSS-Tricks’s website (css-tricks.com) sets its headings in NewTitle and its body text in Iowan Old Style. Its palette is led by Dark Orange (#FF7A18), Royal Blue (#235AF3) and Antique White (#FFF2DF), with #FFFFFF text on #262626. Captured from the live site on 10 November 2026.

Typefaces
NewTitle, Iowan Old Style, SFMono-Regular
Palette
4 neutrals, 12 colours, 3 gradients
Captured
10 Nov 2026 · added by @sitestyleguide
https://css-tricks.com/ Screenshot
Screenshot of the css-tricks.com homepage on a desktop screen
Screenshot of css-tricks.com on a 1440 px desktop screen, 10 Nov 2026.

Identity & metadata

What browsers, search engines and social cards show before anyone reaches the page, from the homepage’s <head>.

Title &
description

Page title
CSS-Tricks - Learning for front-end designers and developers
● 60 / 60 characters
Meta description
CSS-Tricks is where folks around the world come to learn about front-end code and everything related to it, including HTML, CSS, and yes, CSS.
● 142 / 160 characters
Site name
CSS-Tricks
og:title
CSS-Tricks - Learning for front-end designers and developers
og:description
CSS-Tricks is where folks around the world come to learn about front-end code and everything related to it, including HTML, CSS, and yes, CSS.
Language
en
Theme colour
#ff7a18

In search results

CSS-Trickshttps://css-tricks.com/

CSS-Tricks - Learning for front-end designers and developers

CSS-Tricks is where folks around the world come to learn about front-end code and everything related to it, including HTML, CSS, and yes, CSS.

When shared

The image CSS-Tricks shares with links

css-tricks.com

CSS-Tricks - Learning for front-end designers and developers

CSS-Tricks is where folks around the world come to learn about front-end code and everything related to it, i…

Back to top ↑

Colour

Read from the site’s stylesheets and weighted by where each colour is used. Names are the nearest standard colour name. Click a swatch to copy its hex code.

Contrast is against the site’s text colour (#FFFFFF) and white, using WCAG 2 ratios: 4.5 for body text, 3 for large text.

Colour

Balance

How much each colour is used
  • White 33%
  • Near Black 19.8%
  • Dark Orange 11%
  • Royal Blue 10.3%
  • Antique White 6.4%
  • Deep Charcoal 4.7%
  • Light Charcoal 3%
  • Deep Pink 1.9%
  • Deep Midnight Blue 1.8%
  • Light Pink 1.4%
  • Brown 1.4%
  • Light Sea Green 1.4%
  • Dark Cyan 1.4%
  • Slate Grey 1.2%
  • Light Midnight Blue 0.9%
  • Light Steel Blue 0.7%

By how often each colour appears in the site’s CSS, weighted by where (body, headings, buttons), not by area on the screen.

Neutrals

Text, backgrounds and structure
  • White

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 0 0 0
    On text
    —
    On white
    —

    Text, background, border · .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--, html

  • Near Black

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 0 0 93
    On text
    18.88:1 AAA
    On white
    18.88:1 AAA

    Text, background, border · html, .site-header .logo span

  • Deep Charcoal

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 0 0 85
    On text
    15.13:1 AAA
    On white
    15.13:1 AAA

    Background, border, text · html, .almanac-group .archive-item

  • Light Charcoal

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 0 0 74
    On text
    9.89:1 AAA
    On white
    9.89:1 AAA

    Background, text, border · .button-solid-dark, pre code::-webkit-scrollbar-track

Colours

Brand colours and accents, most used first
  • Dark Orange

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 52 91 0
    On text
    2.61:1 Fail
    On white
    2.61:1 Fail

    Text, background, graphic · .jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jetpack-, .comments-title span:before

  • Royal Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    86 63 0 5
    On text
    5.49:1 AA
    On white
    5.49:1 AA

    Text, background, border · .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--, .learndash-wrapper .wpProQuiz_content form[name=uploadEssay] input[type=submit].

  • Antique White

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 5 13 0
    On text
    1.10:1 Fail
    On white
    1.10:1 Fail

    Background, border, text · html, .almanac-group .archive-item

  • Deep Pink

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 80 51 10
    On text
    4.23:1 AA large
    On white
    4.23:1 AA large

    Background, border, text · html, .learndash-wrapper .ld-alert-success

  • Deep Midnight Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    78 62 0 82
    On text
    18.57:1 AAA
    On white
    18.57:1 AAA

    Text, background, border · .jetpack-instant-search__search-filters-title, .jetpack-instant-search__sidebar-citation-title

  • Light Pink

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 82 58 0
    On text
    3.60:1 AA large
    On white
    3.60:1 AA large

    Background · .comments-title span:before, .footer-form-wrap:before

  • Brown

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 100 74 31
    On text
    7.34:1 AAA
    On white
    7.34:1 AAA

    Background · .comments-title span:before, .footer-form-wrap:before

  • Light Sea Green

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    100 0 9 25
    On text
    2.32:1 Fail
    On white
    2.32:1 Fail

    Background · .comments-title span:before, .footer-form-wrap:before

  • Dark Cyan

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    68 4 0 41
    On text
    3.73:1 AA large
    On white
    3.73:1 AA large

    Background · .comments-title span:before, .footer-form-wrap:before

  • Slate Grey

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    18 18 0 45
    On text
    4.61:1 AA
    On white
    4.61:1 AA

    Text, border · .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--, .learndash-wrapper .wpProQuiz_content form[name=uploadEssay] input[type=submit][

  • Light Midnight Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    90 71 0 44
    On text
    11.98:1 AAA
    On white
    11.98:1 AAA

    Background, border, text · .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--, --ld-color-primitives-blue-800

  • Light Steel Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    14 11 0 24
    On text
    2.23:1 Fail
    On white
    2.23:1 Fail

    Background, border · .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--, --ld-color-primitives-grey-200

Gradients

  • linear-gradient(130deg,#ff7a18,light-dark(#ff2d6b,#af002d) 41.07%,light-dark(#00bfae,#319197) 76.05%)

  • radial-gradient(50% 50% at top center,light-dark(color-mix(in srgb,color-mix(in srgb,#e52e71 20%,light-dark(#fff,#111)) 66%,transparent),rgba(0,0,0,.66)),light-dark(#fff2df,#262626)),linear-gradient(180deg,#fff,light-dark(#fff2df,#262626))

  • radial-gradient(50% 50% at top center,light-dark(color-mix(in srgb,#e52e71 20%,light-dark(#fff,#111)),rgba(0,0,0,.66)),light-dark(#fff2df,#262626)),linear-gradient(180deg,#fff,light-dark(#fff2df,#262626))

Back to top ↑

Typography

Faces from Google Fonts are shown in the real thing. Others are licensed to the site, so they show in your device’s copy if you have one, or a stand-in if not.

NewTitle

Aa 200 Aa 700

NewTitle

Self-hosted · weights 200, 400, 500, 600, 700 · headings, buttons · shown in a stand-in if you don’t have it

Aa 400 Aa 900

Iowan Old Style

System font, or not loaded on this page · weights 400, 900 · body · shown in a stand-in if you don’t have it

Aa 400 Aa 700

SFMono-Regular

System font, or not loaded on this page · weights 400, 700 · shown in a stand-in if you don’t have it

ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789 ! ? & @ % $ – ’ “ ”

Type scale

From the site’s CSS · root 19.2 px
Heading 1 clamp(3.13rem,2.74vw + 2.75rem,5.38rem) · 103 px

CSS-Tricks

Heading 2 clamp(2.825rem,1.722vw + 2.511rem,3.4rem) · 65 px

CSS-Tricks - Learning for front-end designers a…

Heading 3 clamp(2.375rem,0.348vw + 2.299rem,2.625rem) · 50 px

CSS-Tricks - Learning for front-end designers a…

Heading 4 clamp(1.8rem,1.8rem + 1vw,2.2rem) · 42 px

CSS-Tricks - Learning for front-end designers a…

Heading 5 clamp(1.5rem,1.5rem + 1vw,1.8rem) · 35 px weight 400

CSS-Tricks - Learning for front-end designers a…

Heading 6 clamp(1.25rem,1.25rem + 1vw,1.5rem) · 29 px weight 400

CSS-Tricks - Learning for front-end designers a…

Paragraph 0.85rem · 16 px weight 700

CSS-Tricks is where folks around the world come to learn about front-end code and everything related to it, including HTML, CSS, and yes, C…

Small 75%

CSS-Tricks is where folks around the world come to learn about front-end code and everything related to it, including HTML, CSS, and yes, C…

Button 100% / normal

Get started

Link .875em · 17 px / 1em weight 700 · uppercase · Iowan Old Style

Read more about CSS-Tricks

Sizes in use

Most common across the site
  • 29pxline .5 · 15 rules
  • 23pxline 1.2 · 20 rules
  • 19pxline 1 · 36 rules
  • 17pxline 1.375rem · 45 rules
  • 16pxline 1.3 · 50 rules
  • 15pxline 1.3 · 18 rules
  • 14pxline 1.25em · 64 rules
  • 13pxline 1.6 · 15 rules

Back to top ↑

Elements

The main button and link as the site’s CSS draws them, and the corner radii and shadows it uses most.

Elements

Button

Get started

.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper-- · #235AF3 · radius 20px

Link

Read our latest news today.

a · #111111

Corner radius

  • 8px · 63×
  • 6px · 51×
  • 100% · 27×
  • 4px · 20×
  • 20px · 15×
  • 5px · 14×

Shadows

  • 0 8px 15px light-dark(rgba(0,0,0,0.15),rgba(0,0,0,0.85))
  • 1px 1px 1px #000000, 0px 0px 1px #0d0d0d
  • 0 -8px 15px light-dark(rgba(0,0,0,0.15),rgba(0,0,0,0.85))
  • 0 5px 5px light-dark(rgba(0,0,0,.07),#000)

Back to top ↑

Layout

Breakpoints from the site’s media queries and the widths its content is held to, with how often each appears.

Grid

Breakpoints

576
640
768
800
960
992
1024
1200

On a scale of 0 to 1440 px.

Content widths (max-width)

900 px
700 px
495 px
493 px
385 px
300 px

Back to top ↑

Notes

Plain checks on what was found. Worth fixing if you look after this site.

Notes

  • ● FineThe title is 60 characters, short enough to show in full in search results.

Back to top ↑

Questions

Quick answers, from the same capture as the rest of this guide.

Questions

What font does CSS-Tricks use?
CSS-Tricks’s website uses two typefaces: NewTitle (headings), self-hosted; Iowan Old Style (body text), a system font.
What are CSS-Tricks’s brand colours?
The main colours on css-tricks.com are Dark Orange (#FF7A18), Royal Blue (#235AF3), Antique White (#FFF2DF), Deep Pink (#E52E71), Deep Midnight Blue (#0A112D) and Light Pink (#FF2D6B).
What colour is CSS-Tricks’s text and background?
Body text is #FFFFFF on a #262626 background.
Where is CSS-Tricks’s logo from?
The logo shown in this guide was found on css-tricks.com’s homepage. For official logo files and usage rules, check CSS-Tricks’s own brand or press page.
Is this CSS-Tricks’s official style guide?
No. SiteStyleGuide made it from css-tricks.com’s public web pages on 10 November 2026, and isn’t affiliated with CSS-Tricks. Members can refresh a guide after 90 days to pick up changes.

Back to top ↑

Design tokens

Everything above as CSS variables, ready to paste into a project. Members can download the tokens as files for Figma (Tokens Studio), Style Dictionary and Tailwind.

Tokens

css-tricks-com-tokens.css

Download

Free with an account: sign up or sign in, and you’ll come straight back here.

/* css-tricks.com design tokens, from SiteStyleGuide (https://sitestyleguide.com/css-tricks.com) */
:root {
  /* Colours */
  --text: #FFFFFF;
  --background: #262626;
  --colour-white: #FFFFFF;
  --colour-near-black: #111111;
  --colour-deep-charcoal: #262626;
  --colour-light-charcoal: #434343;
  --colour-dark-orange: #FF7A18;
  --colour-royal-blue: #235AF3;
  --colour-antique-white: #FFF2DF;
  --colour-deep-pink: #E52E71;
  --colour-deep-midnight-blue: #0A112D;
  --colour-light-pink: #FF2D6B;
  --colour-brown: #AF002D;
  --colour-light-sea-green: #00BFAE;
  --colour-dark-cyan: #319197;
  --colour-slate-grey: #73738C;
  --colour-light-midnight-blue: #0E2A90;
  --colour-light-steel-blue: #A7ADC2;
  --gradient-1: linear-gradient(130deg,#ff7a18,light-dark(#ff2d6b,#af002d) 41.07%,light-dark(#00bfae,#319197) 76.05%);
  --gradient-2: radial-gradient(50% 50% at top center,light-dark(color-mix(in srgb,color-mix(in srgb,#e52e71 20%,light-dark(#fff,#111)) 66%,transparent),rgba(0,0,0,.66)),light-dark(#fff2df,#262626)),linear-gradient(180deg,#fff,light-dark(#fff2df,#262626));
  --gradient-3: radial-gradient(50% 50% at top center,light-dark(color-mix(in srgb,#e52e71 20%,light-dark(#fff,#111)),rgba(0,0,0,.66)),light-dark(#fff2df,#262626)),linear-gradient(180deg,#fff,light-dark(#fff2df,#262626));

  /* Typefaces */
  --font-headings: 'NewTitle', 'NewTitle Fallback', sans-serif;
  --font-buttons: 'NewTitle', 'NewTitle Fallback', sans-serif;
  --font-body: 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', 'P052', serif;
  --font-other: 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', monospace;

  /* Type scale */
  --text-h1: clamp(3.13rem,2.74vw + 2.75rem,5.38rem);
  --text-h2: clamp(2.825rem,1.722vw + 2.511rem,3.4rem);
  --text-h3: clamp(2.375rem,0.348vw + 2.299rem,2.625rem);
  --text-h4: clamp(1.8rem,1.8rem + 1vw,2.2rem);
  --text-h5: clamp(1.5rem,1.5rem + 1vw,1.8rem);
  --text-h6: clamp(1.25rem,1.25rem + 1vw,1.5rem);
  --text-p: 0.85rem;
  --text-small: 75%;
  --text-button: 100%;
  --leading-button: normal;
  --text-a: .875em;
  --leading-a: 1em;

  /* Shape */
  --radius-1: 8px;
  --radius-2: 6px;
  --radius-3: 100%;
  --radius-4: 4px;
  --radius-5: 20px;
  --radius-6: 5px;

  /* Layout (breakpoints can’t be used in media queries as variables; they’re here for reference) */
  --breakpoint-1: 576px;
  --breakpoint-2: 640px;
  --breakpoint-3: 768px;
  --breakpoint-4: 800px;
  --breakpoint-5: 960px;
  --breakpoint-6: 992px;
  --breakpoint-7: 1024px;
  --breakpoint-8: 1200px;
  --max-width-1: 900px;
  --max-width-2: 700px;
  --max-width-3: 495px;
  --max-width-4: 493px;
  --max-width-5: 385px;
  --max-width-6: 300px;
}

Back to top ↑

Share

Links open each service’s own share page. Nothing from them loads here.

Share

Run css-tricks.com?

Add the badge to your site

Link to this guide from your own site, so your team, designers and agencies can find your colours and fonts in one place.

View our style guide on SiteStyleGuide
<a href="https://sitestyleguide.com/css-tricks.com" title="CSS-Tricks style guide on SiteStyleGuide"><img src="https://sitestyleguide.com/public/badge.svg" alt="View our style guide on SiteStyleGuide" width="200" height="44"></a>

Back to top ↑

Websites whose lead colour is closest to CSS-Tricks’s

Captured from css-tricks.com on 10 November 2026. SiteStyleGuide isn’t affiliated with or endorsed by CSS-Tricks; this guide describes the public website for reference.