Onet
onet.pl · set in Fira Sans
SaveUnofficial A style guide made by SiteStyleGuide from php.net’s public web pages. Not affiliated with or endorsed by php.net. The real site is php.net ↗
Unofficial style guide
php.net’s website (php.net) uses Fira Sans for its headings and body text. Its palette is led by Light Slate Blue (#4F5B93), Purple (#793862) and Pale Violet Red (#CF82B1), with #CCCCCC text on #333333. Captured from the live site on 1 November 2026.
Identity & metadata
What browsers, search engines and social cards show before anyone reaches the page, from the homepage’s <head>.
In search results
PHP
PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.
When shared
php.net
PHP
PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular…
Logo & favicons
Found as: image in the header. SVG, 100 × 50.
Light browser tab
Dark browser tab
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 (#CCCCCC) and white, using WCAG 2 ratios: 4.5 for body text, 3 for large text.
By how often each colour appears in the site’s CSS, weighted by where (body, headings, buttons), not by area on the screen.
Text, background · .btn-primary, .headsup
Text, background, border · html, h1
Text, background, border · aside.tips h3, pre.info
Text, border · html, aside.tips
Background, border, text · .navbar, .btn-primary
Text, background, border · h1.refname, .title a
Text, border · .layout-menu ul.child-menu-list li.current a, --light-magenta-color
Text · .navbar__search-input::placeholder, .navbar__languages
Text · .content-header .changelog, .methodname b
Text · #flash-message .error a, .classsynopsisinfo .modifier
Text, border · .interfacename a, div.phpcode span.keyword
Background, border · .doctable th, td:before
Background · .navbar__search-form, .navbar__theme
Text, border · --medium-magenta-color, a:hover
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.
Fira Sans
Self-hosted · weights 400, 500 · body · shown in a stand-in if you don’t have it
Fira Mono
Self-hosted · weights 400, 700 · shown in a stand-in if you don’t have it
Source Code Pro
System font, or not loaded on this page · shown in a stand-in if you don’t have it
a
System font, or not loaded on this page · shown in a stand-in if you don’t have it
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789 ! ? & @ % $ – ’ “ ”
php.net
PHP
PHP
PHP
PHP
PHP
PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.
PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.
PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.
Get started
Read more about php.net
Elements
The main button and link as the site’s CSS draws them, and the corner radii and shadows it uses most.
Button
.btn-primary · #4F5B93
Corner radius
Shadows
Layout
Breakpoints from the site’s media queries and the widths its content is held to, with how often each appears.
Breakpoints
On a scale of 0 to 1500 px.
Content widths (max-width)
Notes
Plain checks on what was found. Worth fixing if you look after this site.
Questions
Quick answers, from the same capture as the rest of this guide.
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.
/* php.net design tokens, from SiteStyleGuide (https://sitestyleguide.com/php.net) */
:root {
/* Colours */
--text: #CCCCCC;
--background: #333333;
--colour-white: #FFFFFF;
--colour-charcoal: #333333;
--colour-off-white: #E6E6E6;
--colour-light-grey: #CCCCCC;
--colour-light-slate-blue: #4F5B93;
--colour-purple: #793862;
--colour-pale-violet-red: #CF82B1;
--colour-deep-steel-blue: #B9C3F4;
--colour-royal-blue: #336699;
--colour-deep-violet-red: #993366;
--colour-olive-drab: #669933;
--colour-light-steel-blue: #C4C9DF;
--colour-deep-slate-blue: #404F82;
--colour-light-violet-red: #AE508D;
/* Typefaces */
--font-body: 'Fira Sans', 'Source Sans Pro', ui-sans-serif, system-ui, -apple-system, blinkmacsystemfont;
--font-other: 'Fira Mono', 'Source Code Pro', ui-monospace, 'SFMono-Regular', 'Menlo', 'Monaco';
/* Type scale */
--text-h1: 1.75rem;
--leading-h1: 3rem;
--text-h2: 1.5rem;
--leading-h2: 3rem;
--text-h3: 1.25rem;
--leading-h3: 3rem;
--text-h4: 1.125rem;
--leading-h4: 3rem;
--text-h5: 1rem;
--leading-h5: 3rem;
--text-h6: 1rem;
--leading-h6: 3rem;
--text-body: 1rem;
--leading-body: 1.5rem;
--text-p: 0.875rem;
--leading-p: 1.5rem;
--text-small: 0.75rem;
--text-button: 100%;
--leading-button: normal;
--text-a: 0.875rem;
--leading-a: 1.5rem;
/* Shape */
--radius-1: 0 0 2px 2px;
--radius-2: 8px;
--radius-3: 30px;
--radius-4: 4px;
--radius-5: .25rem;
--radius-6: 5px;
/* Layout (breakpoints can’t be used in media queries as variables; they’re here for reference) */
--breakpoint-1: 425px;
--breakpoint-2: 767px;
--breakpoint-3: 768px;
--breakpoint-4: 979px;
--breakpoint-5: 980px;
--breakpoint-6: 992px;
--breakpoint-7: 1200px;
--breakpoint-8: 1500px;
--max-width-1: 560px;
--max-width-2: 540px;
--max-width-3: 350px;
--max-width-4: 300px;
}
{
"site": "php.net",
"source": "https://sitestyleguide.com/php.net",
"text": "#CCCCCC",
"background": "#333333",
"colours": [
{
"name": "White",
"hex": "#FFFFFF",
"rgb": [
255,
255,
255
]
},
{
"name": "Charcoal",
"hex": "#333333",
"rgb": [
51,
51,
51
]
},
{
"name": "Off White",
"hex": "#E6E6E6",
"rgb": [
230,
230,
230
]
},
{
"name": "Light Grey",
"hex": "#CCCCCC",
"rgb": [
204,
204,
204
]
},
{
"name": "Light Slate Blue",
"hex": "#4F5B93",
"rgb": [
79,
91,
147
]
},
{
"name": "Purple",
"hex": "#793862",
"rgb": [
121,
56,
98
]
},
{
"name": "Pale Violet Red",
"hex": "#CF82B1",
"rgb": [
207,
130,
177
]
},
{
"name": "Deep Steel Blue",
"hex": "#B9C3F4",
"rgb": [
185,
195,
244
]
},
{
"name": "Royal Blue",
"hex": "#336699",
"rgb": [
51,
102,
153
]
},
{
"name": "Deep Violet Red",
"hex": "#993366",
"rgb": [
153,
51,
102
]
},
{
"name": "Olive Drab",
"hex": "#669933",
"rgb": [
102,
153,
51
]
},
{
"name": "Light Steel Blue",
"hex": "#C4C9DF",
"rgb": [
196,
201,
223
]
},
{
"name": "Deep Slate Blue",
"hex": "#404F82",
"rgb": [
64,
79,
130
]
},
{
"name": "Light Violet Red",
"hex": "#AE508D",
"rgb": [
174,
80,
141
]
}
],
"fonts": [
{
"name": "Fira Sans",
"stack": "\"Fira Sans\", \"Source Sans Pro\", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"",
"weights": [
400,
500
],
"source": "Self-hosted"
},
{
"name": "Fira Mono",
"stack": "\"Fira Mono\", \"Source Code Pro\", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace",
"weights": [
400,
700
],
"source": "Self-hosted"
},
{
"name": "Source Code Pro",
"stack": "\"Source Code Pro\", monospace",
"weights": [],
"source": "System font, or not loaded on this page"
},
{
"name": "a",
"stack": "a",
"weights": [],
"source": "System font, or not loaded on this page"
}
]
}
unblocked.la · 4 days ago
Save
myanimelist.net · 3 days ago
Save
space.com · 2 days ago
Save
nydailynews.com · 13 hours ago
SaveCaptured from php.net on 1 November 2026. SiteStyleGuide isn’t affiliated with or endorsed by php.net; this guide describes the public website for reference.
Analytics cookies
We’d like to use Google Analytics cookies to count visits and see which pages are useful. Nothing is used for advertising.