# Chromaline 1.0
Original PHP palette explorer. Full core package is free. No database, Composer, npm dependencies or internet required by the runtime.

## Run the actual customer ZIP
Unzip into a new folder and open a terminal in it. PHP 8.1+ (CLI enabled) and a modern browser are required.
~~~sh
php -v
php tests/palette_test.php
php -S 127.0.0.1:8080 -t app
~~~
Open http://127.0.0.1:8080/ . PHP server required; do not open index.php as a file. Keep the terminal open while using the app; Ctrl-C stops your server. Loopback address is for local use. Public hosting, TLS and server operations require your own setup.

## Create a useful palette
Name the palette, enter a six-digit seed such as #7257D9, choose a harmony and select Generate palette. PHP generates five colors; the middle one is the seed unless locked. Edit each hex field or lock a color. Generation is deterministic, not random; the same unlocked inputs give the same result.
Choose text and background under Check the contrast. The ratio uses WCAG relative luminance for opaque sRGB. Normal text requires at least 4.5:1 for AA; large text 3:1. Rounded display values are not used for the decision. This is not a whole-design audit.
Copy a hex code, Copy CSS or Download CSS. Palette sheet downloads standalone HTML that opens without PHP. Save project downloads JSON; Open project reopens it with the same name, seed, harmony, five colors and locks.
Invalid input blocks exports until corrected. Invalid imported files preserve the palette. There is no autosave or browser storage: save before closing. CSS variable names are fixed --color-1 through --color-5.

## Example and checks
Open samples/example.chromaline.json from the app. The example is fictional, not customer data.
Run PHP tests above. Recreate the ZIP with Python 3 standard library:
~~~sh
python3 scripts/package.py
~~~
Archive includes tests and all local imports. QA_SCENARIO.md describes the separate maintainer scenario. PHP tests and packaging work directly from the ZIP.

## Data and limits
Generation sends only palette seed, mode, colors and locks to your own PHP server; the app does not persist them. Your server can have its own access logs. Project names stay in browser memory/downloads. No external requests, fonts or tracking are loaded by the core app. hosted/ has a separately opt-in adapter, never imported by the app.
Opaque sRGB hex only; no gradients, alpha, image editing, automatic brand suitability or guaranteed accessibility. Setup documentation only; no promised personal support or update schedule. Personal/commercial project use and finished output sharing follow LICENSE.txt; package resale prohibited.
