Sitepeel
PHP website (php.net) as measured on November 4, 2026

Developer tools · DESIGN.md · measured November 4, 2026

PHP design system

PHP’s website (php.net) uses the Fira Sans font and #4F5B93 as its main color on a #333333 background. Measured by Sitepeel on November 4, 2026.

  • #333333
  • #CCCCCC
  • #4F5B93
  • #90A0D0
Download DESIGN.md

From php.net ↗ · 339 elements at 1440×900 and 390×844 Independent analysis, not affiliated with PHP

PHP color palette

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

Surfaces

Graphite#333333background · --content-text-colorPage background · 1×
Mist#F2F2F2inverse-surface · --content-background-colorHigh-contrast fills · 1×

Text

Silver#CCCCCCon-surface · --background-text-colorPrimary text and headings · 13×
White#FFFFFFon-surface-strongHeadings and emphasis · 13×
Pale Indigo#DBE1FFon-surface-variantSecondary text · 4×
Slate#666666on-surface-mutedMuted text and metadata · 16×
White#FFFFFFon-primaryText and icons on primary

Accents

Indigo#4F5B93primary · --dark-blue-colorPrimary buttons and calls to action · 2×
Blue#90A0D0secondaryAccent · 2×

Borders

Blue#336699outlineBorders and dividers · 63×
Dark Pink#793862outline-variant · --dark-magenta-colorSecondary dividers · 25×

PHP fonts and type scale

One family carries the whole interface.

AaFira SansWeights 400, 600Fira Sans, Source Sans Pro, ui-sans-serif, system-ui
headline-displayPage title (h1)PHP24px · 400 · 2
headline-lgSection headings (h2)The quick brown fox jumps over the lazy dog20px · 400 · 1.2
body-mdBody textThe quick brown fox jumps over the lazy dog14px · 400 · 1.71
body-lgLead paragraphsThe quick brown fox jumps over the lazy dog18px · 400 · 1.33
label-mdButtons, navigation and labelsThe quick brown fox jumps over the lazy dog16px · 400 · 1.7
label-smSmall labels and badgesThe quick brown fox jumps over the lazy dog14px · 600 · 1.71

Contrast

Text on #333333

AaAAA7.8:1
AaAAA12.6:1
AaAAA9.7:1
AaLarge only2.2:1

Spacing

8px grid · 97% of values fit

sm8px
md16px
lg24px
xl48px
gutter32px

Breakpoints: 425px 465px 480px 540px 760px 767px 768px 784px 979px 980px 992px 1200px 1500px 1548px

Shapes

Corner radii, most used first.

md30px · 8×
sm8px · 4×

Depth

Shadow

PHP UI components

Rebuilt from the measured CSS.

What's new in 8.5
button-primaryFilled button · hover to see the measured hover state
Search docs
button-secondaryFilled button
Download
button-outlineOutlined button
Download
button-ghostText button
Inline link
linkInline link

Motion

Interface transitions

0.25s0.2s
ease-outease

Do’s and don’ts

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

  • Use #333333 for the page.
  • Keep text in 4 levels: #CCCCCC, #FFFFFF, #DBE1FF, #666666.
  • Reserve #4F5B93 for primary actions and key highlights.
  • Keep spacing on the 8px grid.
  • Use 30px corners on most elements; larger surfaces also use 8px.
  • Use #666666 for body text; it reaches 2.20:1 on #333333. Keep it for large text or metadata.
  • Introduce new font families beyond Fira Sans.
  • Use #4F5B93 for large backgrounds or body text.
  • Make interface transitions slower than 0.25s.
PHP DESIGN.md180 lines

Fonts

What font does PHP use?

PHP uses Fira Sans (weights 400 and 600) on php.net. Page titles are 24px at weight 400 and body text is 14px. Measured on November 4, 2026.

  • AaFira Sans · 400, 600
Find every font on php.net with Font finder →

Colors

PHP colors: palette and hex codes

PHP’s main colors are #333333 (graphite) for the background, #CCCCCC (silver) for text and #4F5B93 (indigo) as the main accent, with #90A0D0 (blue) as another accent. Measured on November 4, 2026.

  • #333333 · graphite
  • #CCCCCC · silver
  • #FFFFFF · white
  • #DBE1FF · pale indigo
  • #666666 · slate
  • #336699 · blue
  • #793862 · dark pink
  • #4F5B93 · indigo
Get php.net’s palette as CSS or Tailwind with Colors →

Tech stack

What is PHP built with?

PHP’s website (php.net) is built with jQuery, bunny.net and Font Awesome. Measured on November 4, 2026.

JavaScript framework
jQuery 3.6.0
Hosting & CDN
bunny.net
Fonts & icons
Font Awesome
Analytics
Matomo
Check php.net 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

PHP design system questions

What font does PHP use?

PHP’s website uses Fira Sans (weights 400 and 600). Page titles are 24px at weight 400 and body text is 14px. Measured on November 4, 2026.

What are the PHP colors and hex codes?

On php.net: #333333 (graphite) for the background, #CCCCCC (silver) for text and #4F5B93 (indigo) as the main accent, with #90A0D0 (blue) as another accent. The color palette above lists all 11 colors with their hex codes and where each one is used.

What is the PHP design system?

The design system on this page is php.net’s, as measured on November 4, 2026: Fira Sans type, #4F5B93 as the main color, 30px corners and a 8px spacing grid, written down as a DESIGN.md. It is not PHP’s own documentation.

What is PHP built with?

PHP’s website (php.net) is built with jQuery, bunny.net and Font Awesome. The full tech stack Sitepeel found: jQuery, bunny.net, Font Awesome and Matomo. Measured on November 4, 2026.

What is the PHP DESIGN.md?

A plain-text file with PHP’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 PHP’s official design system?

No. Sitepeel measured it from php.net’s public page on November 4, 2026. It is an independent analysis, not made or approved by PHP.

Can I use PHP’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 PHP’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.