API reference

contextual_color.h · CSS properties

Browse entries grouped by interface file. Expand an entry for declarations, usage and version boundaries.

Read the related guide →

Entries retain declarations and sources. Runtime verification is recorded per entry; internal source candidates are not a promise of SDK delivery.

src/css/contextual_color.h
相对颜色 currentColor 恒等式
Partial3.61.7C++ / C / Go / Rust

Only canonical identity forms that preserve currentColor semantics are implemented. Arbitrary relative colors and channel math are unsupported.

contextual_color.h
color(from currentColor <rgb-space> r g b [/ alpha]) | color(from currentColor <xyz-space> x y z [/ alpha])

Historical audit version: 3.59.0 · 2026-11-01 Asia/Shanghai (UTC+08:00)

Verification scope

Imported static source audit from 2026-11-01 / 3.59.0. References are available; this is not a fresh runtime verification of this release.

src/css/contextual_color.h:25

Report an issue with this entry →
Browse this reference type →