Sitepeel
p5.js website (p5js.org) as measured on November 29, 2026

UI and animation libraries · DESIGN.md · measured November 29, 2026

p5.js design system

p5.js’s website (p5js.org) uses the National Park font and #F1678E as its main color on a white background. Measured by Sitepeel on November 29, 2026.

  • #FFFFFF
  • #000000
  • #F1678E
  • #1E32AA
Download DESIGN.md

From p5js.org ↗ · 162 elements at 1440×900 and 390×844 Independent analysis, not affiliated with p5.js

p5.js color palette

6 colors with hex codes, grouped by where each one is used on the page.

Surfaces

White#FFFFFFbackground · --sidebar-bg-colorPage background · 2×

Text

Near Black#000000on-surface · --type-colorPrimary text and headings · 57×
Near Black#000000on-primaryText and icons on primary

Accents

Pink#F1678Eprimary · --accent-colorPrimary buttons and calls to action · 3×
Indigo#1E32AAsecondaryAccent in the header
Vivid Pink#ED225Dtertiary · --logo-colorAccent in the logo · 6×

p5.js fonts and type scale

One family carries the whole interface.

AaNational ParkWeights 400, 700National Park, sans-serif
headline-displayPage title (h1)p5.js56px · 700 · 1 · 0.004em
mobile 40px
body-mdBody textThe quick brown fox jumps over the lazy dog14px · 400 · 1.42 · 0.014em
label-mdButtons, navigation and labelsThe quick brown fox jumps over the lazy dog20px · 400 · 1.2 · 0.01em

Contrast

Text on #FFFFFF

AaAAA21.0:1

Spacing

4px grid · 94% of values fit

sm8px
md16px
lg20px
xl40px
gutter40px
margin32px

Breakpoints: 770px 1023px 1024px 1280px

Shapes

Corner radii, most used first.

md20px · 12×
full9999px · 8×

Depth

Flat: no shadows measured.

p5.js UI components

Rebuilt from the measured CSS. Buttons from other sites

English
button-primaryFilled button
Start Coding
button-outlineOutlined button · hover to see the measured hover state
Start Coding
button-ghostText button
Search
input-fieldInput field
Inline link
linkInline link

Motion

No short transitions measured

linear

Do’s and don’ts

Rules written from the measurements, so a coding agent stays on style.

  • Use #FFFFFF for the page.
  • Reserve #F1678E for primary actions and key highlights.
  • Keep spacing on the 4px grid.
  • Make buttons and chips fully rounded (9999px); most other elements use 20px corners.
  • Add drop shadows for depth; use borders and contrast.
  • Introduce new font families beyond National Park.
  • Use #F1678E for large backgrounds or body text.
p5.js DESIGN.md158 lines

Fonts

What font does p5.js use?

p5.js uses National Park (weights 400 and 700) on p5js.org. Page titles are 56px at weight 700 (40px on phones) and body text is 14px. Measured on November 29, 2026.

  • AaNational Park · 400, 700
Find every font on p5js.org with Font finder →

Colors

p5.js colors: palette and hex codes

p5.js’s main colors are #FFFFFF (white) for the background, #000000 (near black) for text and #F1678E (pink) as the main accent, with #1E32AA (indigo) and #ED225D (vivid pink) as other accents. Measured on November 29, 2026.

  • #FFFFFF whitergb(255, 255, 255) · hsl(0, 0%, 100%)
  • #000000 near blackrgb(0, 0, 0) · hsl(0, 0%, 0%)
  • #F1678E pinkrgb(241, 103, 142) · hsl(343, 83%, 67%)
  • #1E32AA indigorgb(30, 50, 170) · hsl(231, 70%, 39%)
  • #ED225D vivid pinkrgb(237, 34, 93) · hsl(343, 85%, 53%)
Get p5js.org’s palette as CSS or Tailwind with Colors →

Tech stack

What is p5.js built with?

p5.js’s website (p5js.org) is built with Astro, Preact, Tailwind CSS and Cloudflare. Measured on November 29, 2026.

Hosting & CDN
Cloudflare
Analytics
Cloudflare Web Analytics, Fathom
JavaScript framework
Astro, Preact
UI & CSS
Tailwind CSS 4.x
Check p5js.org live with Tech stack →

What you can build with it

Landing pages, pricing tables, dashboards: your AI coding agent builds them in this style, with these colors, fonts, spacing and buttons instead of its defaults.

Download DESIGN.md, put it in your project’s root folder, then ask your agent for a page.

Prompt · DESIGN.md attached

Build a landing page for my product. Follow for every color, font, spacing value, corner and button.

Need a page behind a login?

The DESIGN.md generator Chrome extension makes one from any page you have open, including dashboards and pages behind a login.

See the Chrome extension

FAQ

p5.js design system questions

What font does p5.js use?

p5.js’s website uses National Park (weights 400 and 700). Page titles are 56px at weight 700 (40px on phones) and body text is 14px. Measured on November 29, 2026.

What are the p5.js colors and hex codes?

On p5js.org: #FFFFFF (white) for the background, #000000 (near black) for text and #F1678E (pink) as the main accent, with #1E32AA (indigo) and #ED225D (vivid pink) as other accents. The color palette above lists all 6 colors with their hex codes and where each one is used.

What is the p5.js design system?

The design system on this page is p5js.org’s, as measured on November 29, 2026: National Park type, #F1678E as the main color, 20px corners and a 4px spacing grid, written down as a DESIGN.md. It is not p5.js’s own documentation.

What is p5.js built with?

p5.js’s website (p5js.org) is built with Astro, Preact, Tailwind CSS and Cloudflare. The full tech stack Sitepeel found: Cloudflare, Cloudflare Web Analytics, Fathom, Astro, Preact and Tailwind CSS. Measured on November 29, 2026.

What is the p5.js DESIGN.md?

A plain-text file with p5.js’s measured colors, type, spacing, corners and components as tokens, plus short rules, in the DESIGN.md format Google published with Stitch. Your AI coding agent reads it and builds in this style. More about DESIGN.md.

How do I use it with Claude Code or Cursor?

Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.

Is this p5.js’s official design system?

No. Sitepeel measured it from p5js.org’s public page on November 29, 2026. It is an independent analysis, not made or approved by p5.js.

Can I use p5.js’s style in my own product?

Use it to learn, prototype and compare. For a real product, make the style your own, and never copy p5.js’s logo, name, pictures or text.

How accurate are the values?

Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.