IFP
DESIGN.md · measured November 13, 2026
Code Arena design system
Code Arena’s website (codeareana.com) uses the Inter font and #FDDF49 as its main color on a #0F1115 background. Measured by Sitepeel on November 13, 2026.
- #0F1115
- #121212
- #FAFAFA
- #FDDF49
From codeareana.com ↗ · 154 elements at 1440×900 and 390×844 Independent analysis, not affiliated with Code Arena
Code Arena color palette
16 colors with hex codes, grouped by where each one is used on the page.
Surfaces
#0F1115backgroundPage background · 4×#121212surface-container-lowRaised areas one step from the page · 3×#0C0C0Csurface-containerCards and panels · 1×#1A1A1AE6surface-container-highHover and pressed fills · 1×#3A3A3Asurface-container-highestHighest raised elements · 2×#0A0A0A4DoverlayTranslucent fill for cards and controls · 3×#0A0A0A33overlay-strongStronger translucent fill · 2×Text
#FAFAFAon-surfacePrimary text and headings · 18×#DCDCAAon-surface-variantSecondary text · 2×#C8C8C8on-surface-mutedMuted text and metadata · 11×#A3A3A3on-surface-subtleSubtle text and placeholders · 42×#171717on-primaryText and icons on primaryAccents
#FDDF49primaryPrimary buttons and calls to action · 27×#F5C518secondarySecondary buttons · 3×Borders
#262626B3outlineBorders and dividers · 4×#26262666outline-variantSecondary dividers · 3×Code Arena fonts and type scale
2 families.
mobile 30px
Contrast
Text on #0F1115
18.1:113.3:111.2:17.4:1Spacing
4px grid · 93% of values fit
xs4pxsm8pxmd12pxlg24pxxl64pxgutter8pxsection96pxcontainer1152pxCode Arena UI components
Rebuilt from the measured CSS. Buttons from other sites
Motion
Interface transitions
0.15scubic-bezier(0.4, 0, 0.2, 1)
Do’s and don’ts
Rules written from the measurements, so a coding agent stays on style.
- Use #0F1115 for the page and lift surfaces in small steps: #121212, #0C0C0C, #1A1A1AE6, #3A3A3A.
- Keep text in 4 levels: #FAFAFA, #DCDCAA, #C8C8C8, #A3A3A3.
- Reserve #FDDF49 for primary actions and key highlights.
- Set headlines in Inter with tight tracking (-0.025em).
- Keep spacing on the 4px grid.
- Use 6px corners on most elements.
- Introduce new font families beyond Inter and ui-monospace.
- Use #FDDF49 for large backgrounds or body text.
- Make interface transitions slower than 0.15s.
---
version: alpha
name: Code Arena
description: "Dark interface measured from codeareana.com: Inter type, amber accents, tonal surfaces and 6px corners."
colors:
background: "#0F1115"
surface: "#0F1115"
on-surface: "#FAFAFA"
on-background: "#FAFAFA"
on-surface-variant: "#DCDCAA"
on-surface-muted: "#C8C8C8"
on-surface-subtle: "#A3A3A3"
surface-container-low: "#121212"
surface-container: "#0C0C0C"
surface-container-high: "#1A1A1AE6"
surface-container-highest: "#3A3A3A"
overlay: "#0A0A0A4D"
overlay-strong: "#0A0A0A33"
outline: "#262626B3"
outline-variant: "#26262666"
primary: "#FDDF49"
on-primary: "#171717"
secondary: "#F5C518"
typography:
headline-display:
fontFamily: Inter
fontSize: 36px
fontWeight: 700
lineHeight: 1.11
letterSpacing: -0.025em
headline-lg:
fontFamily: Inter
fontSize: 24px
fontWeight: 700
lineHeight: 1.33
letterSpacing: -0.025em
body-md:
fontFamily: Inter
fontSize: 16px
fontWeight: 400
lineHeight: 1.5
body-lg:
fontFamily: Inter
fontSize: 18px
fontWeight: 700
lineHeight: 1.56
letterSpacing: -0.025em
body-sm:
fontFamily: Inter
fontSize: 12px
fontWeight: 400
lineHeight: 1.33
label-lg:
fontFamily: Inter
fontSize: 16px
fontWeight: 700
lineHeight: 1.5
label-md:
fontFamily: Inter
fontSize: 14px
fontWeight: 500
lineHeight: 1.43
label-sm:
fontFamily: Inter
fontSize: 12px
fontWeight: 500
lineHeight: 1.33
code:
fontFamily: ui-monospace
fontSize: 14px
fontWeight: 400
lineHeight: 1.63
headline-display-mobile:
fontFamily: Inter
fontSize: 30px
fontWeight: 700
lineHeight: 1.2
letterSpacing: -0.025em
rounded:
md: 6px
spacing:
base: 4px
xs: 4px
sm: 8px
md: 12px
lg: 24px
xl: 64px
gutter: 8px
section: 96px
container: 1152px
components:
button-primary:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
typography: "{typography.label-lg}"
padding: 24px
height: 50px
button-secondary:
backgroundColor: "{colors.secondary}"
textColor: "{colors.on-primary}"
typography: "{typography.label-md}"
padding: 6px 12px
height: 32px
button-outline:
backgroundColor: "{colors.background}"
textColor: "{colors.on-surface}"
typography: "{typography.body-md}"
padding: 24px
height: 50px
button-ghost:
textColor: "{colors.on-surface-muted}"
typography: "{typography.label-md}"
padding: 6px 12px
card:
textColor: "{colors.on-surface}"
typography: "{typography.body-md}"
rounded: 0px
padding: 32px
link:
textColor: "{colors.primary}"
---
# Code Arena Design System
## Overview
Code Arena describes itself as: “Practice coding problems, fight 1v1 battles, and run JavaScript, TypeScript, and Python in a free playground — no account, no install.” The interface is dark, built on **Cool Charcoal (#0F1115)** with **Snow (#FAFAFA)** text, and **Amber (#FDDF49)** as the main accent.
Type is set in **Inter**, with **ui-monospace** for code. Headlines run large with tight negative tracking; body text is 16px. Depth comes from soft drop shadows. Corners are mostly 6px.
Measured from [codeareana.com](https://www.codeareana.com/) on November 13, 2026 at 1440×900 and 390×844 from 154 rendered elements. Values are computed styles from the live page, not the original source files.
## Colors
The palette has 16 roles.
- **Cool Charcoal (#0F1115):** Page background, seen 4 times. Token `background`.
- **Snow (#FAFAFA):** Primary text and headings, seen 18 times. Token `on-surface`.
- **Light Yellow (#DCDCAA):** Secondary text, seen 2 times. Token `on-surface-variant`.
- **Silver (#C8C8C8):** Muted text and metadata, seen 11 times. Token `on-surface-muted`.
- **Gray (#A3A3A3):** Subtle text and placeholders, seen 42 times. Token `on-surface-subtle`.
- **Charcoal (#121212):** Raised areas one step from the page, seen 3 times. Token `surface-container-low`.
- **Charcoal (#0C0C0C):** Cards and panels, seen 1 time. Token `surface-container`.
- **Charcoal 90% (#1A1A1AE6):** Hover and pressed fills, seen 1 time. Token `surface-container-high`.
- **Graphite (#3A3A3A):** Highest raised elements, seen 2 times. Token `surface-container-highest`.
- **Near Black 30% (#0A0A0A4D):** Translucent fill for cards and controls, seen 3 times. Token `overlay`.
- **Near Black 20% (#0A0A0A33):** Stronger translucent fill, seen 2 times. Token `overlay-strong`.
- **Graphite 70% (#262626B3):** Borders and dividers, seen 4 times. Token `outline`.
- **Graphite 40% (#26262666):** Secondary dividers, seen 3 times. Token `outline-variant`.
- **Amber (#FDDF49):** Primary buttons and calls to action, seen 27 times. Token `primary`.
- **Charcoal (#171717):** Text and icons on primary. Token `on-primary`.
- **Vivid Amber (#F5C518):** Secondary buttons, seen 3 times. Token `secondary`.
## Typography
**Inter** and **ui-monospace** (monospace) share the interface. Fallback stack: `Inter, Inter Fallback`.
- **headline-display:** Inter 36px at weight 700, line height 1.11, tracking -0.025em (30px on mobile). Page title (h1).
- **headline-lg:** Inter 24px at weight 700, line height 1.33, tracking -0.025em. Section headings (h2).
- **body-md:** Inter 16px at weight 400, line height 1.5. Body text.
- **body-lg:** Inter 18px at weight 700, line height 1.56, tracking -0.025em. Lead paragraphs.
- **body-sm:** Inter 12px at weight 400, line height 1.33. Secondary and small text.
- **label-lg:** Inter 16px at weight 700, line height 1.5. Large buttons and tabs.
- **label-md:** Inter 14px at weight 500, line height 1.43. Buttons, navigation and labels.
- **label-sm:** Inter 12px at weight 500, line height 1.33. Small labels and badges.
- **code:** ui-monospace 14px at weight 400, line height 1.63. Code and technical values.
## Layout
Spacing follows a 4px grid: 93% of measured gaps and paddings are multiples of 4px.
- **Scale:** xs 4px, sm 8px, md 12px, lg 24px, xl 64px.
- **Sections:** 96px vertical padding between major sections.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1152px.
## Elevation & Depth
Raised elements use soft drop shadows. The most used recipes:
- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px`
## Shapes
Most elements use 6px corners. Measured radii, most used first:
- **md (6px):** 4 elements.
## Components
Measured from the rendered page. Token values reference the tokens above.
- **button-primary (“Open problem set”):** #FDDF49 fill, #171717 text, 16px/700, 3.35544e+07px radius, padding 24px, border 1px solid #FDDF49, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px`.
- **button-secondary (“Sign in”):** #F5C518 fill, #171717 text, 14px/600, 3.35544e+07px radius, padding 6px 12px.
- **button-outline (“Battle 1v1”):** #0F1115 fill, #FAFAFA text, 16px/500, 3.35544e+07px radius, padding 24px, border 1px solid #262626CC, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px`.
- **button-ghost (“Playground”):** transparent fill, #C8C8C8 text, 14px/500, 3.35544e+07px radius, padding 6px 12px.
- **card:** transparent fill, #FAFAFA text, 16px/400, padding 32px.
- **link:** transparent fill, #FDDF49 text, padding 0px.
## Do's and Don'ts
- Do use #0F1115 for the page and lift surfaces in small steps: #121212, #0C0C0C, #1A1A1AE6, #3A3A3A.
- Do keep text in 4 levels: #FAFAFA, #DCDCAA, #C8C8C8, #A3A3A3.
- Do reserve #FDDF49 for primary actions and key highlights.
- Do set headlines in Inter with tight tracking (-0.025em).
- Do keep spacing on the 4px grid.
- Do use 6px corners on most elements.
- Don't introduce new font families beyond Inter and ui-monospace.
- Don't use #FDDF49 for large backgrounds or body text.
- Don't make interface transitions slower than 0.15s.
## Motion
Interface transitions are quick: 0.15s.
- **Easing:** `cubic-bezier(0.4, 0, 0.2, 1)`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.
Generated by [Sitepeel](https://sitepeel.dev/design-md/codeareana.com/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
Fonts
What font does Code Arena use?
Code Arena uses Inter (weights 400, 500 and 700) on codeareana.com. Page titles are 36px at weight 700 (30px on phones) and body text is 16px. Measured on November 13, 2026.
- AaInter · 400, 500, 700
- Aaui-monospace · 400
Colors
Code Arena colors: palette and hex codes
Code Arena’s main colors are #0F1115 (cool charcoal) for the background, #FAFAFA (snow) for text and #FDDF49 (amber) as the main accent, with #F5C518 (vivid amber) as another accent. Measured on November 13, 2026.
- #0F1115 cool charcoalrgb(15, 17, 21) · hsl(220, 17%, 7%)
- #FAFAFA snowrgb(250, 250, 250) · hsl(0, 0%, 98%)
- #DCDCAA light yellowrgb(220, 220, 170) · hsl(60, 42%, 76%)
- #C8C8C8 silverrgb(200, 200, 200) · hsl(0, 0%, 78%)
- #A3A3A3 grayrgb(163, 163, 163) · hsl(0, 0%, 64%)
- #121212 charcoalrgb(18, 18, 18) · hsl(0, 0%, 7%)
- #0C0C0C charcoalrgb(12, 12, 12) · hsl(0, 0%, 5%)
- #3A3A3A graphitergb(58, 58, 58) · hsl(0, 0%, 23%)
Tech stack
What is Code Arena built with?
Code Arena’s website (codeareana.com) is built with Next.js, React, Radix UI, Tailwind CSS and Vercel. Measured on November 13, 2026.
- JavaScript framework
- Next.js 16.2.10, React 19.3.0-canary-3f0b9e61-2
- Hosting & CDN
- Vercel
- Analytics
- Vercel Web Analytics
- UI & CSS
- Radix UI, Tailwind CSS 4.x
- Animation & 3D
- Motion
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.
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.
More designs
Brand examples →Another site? Make a DESIGN.md from any link.
FAQ
Code Arena design system questions
What font does Code Arena use?
Code Arena’s website uses Inter (weights 400, 500 and 700). Page titles are 36px at weight 700 (30px on phones) and body text is 16px. Measured on November 13, 2026.
What are the Code Arena colors and hex codes?
On codeareana.com: #0F1115 (cool charcoal) for the background, #FAFAFA (snow) for text and #FDDF49 (amber) as the main accent, with #F5C518 (vivid amber) as another accent. The color palette above lists all 16 colors with their hex codes and where each one is used.
What is the Code Arena design system?
The design system on this page is codeareana.com’s, as measured on November 13, 2026: Inter type, #FDDF49 as the main color, 6px corners and a 4px spacing grid, written down as a DESIGN.md. It is not Code Arena’s own documentation.
What is Code Arena built with?
Code Arena’s website (codeareana.com) is built with Next.js, React, Radix UI, Tailwind CSS and Vercel. The full tech stack Sitepeel found: Next.js, Vercel, React, Vercel Web Analytics, Radix UI, Tailwind CSS and Motion. Measured on November 13, 2026.
What is the Code Arena DESIGN.md?
A plain-text file with Code Arena’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 Code Arena’s official design system?
No. Sitepeel measured it from codeareana.com’s public page on November 13, 2026. It is an independent analysis, not made or approved by Code Arena.
Can I use Code Arena’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 Code Arena’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.




