styleditor.net styleditor.net styleditor.net styleditor.net English accent-coloralignalignment-baselineallanchoranimationappearanceaspect-ratiobackdrop-filterbackface-visibilitybackgroundbackground-attachmentbackground-blend-modebackground-clipbackground-colorbackground-imagebackground-originbackground-positionbackground-position-xbackground-position-ybackground-repeatbackground-repeat-xbackground-repeat-ybackground-sizebaselineblock-sizeborderbottomboxbreakcaption-sidecaretclearclipcolorcolumncolumnscontaincontainercontentcornercountercursorcxcyddirectiondisplaydominant-baselinedynamic-range-limitempty-cellsfield-sizingfillfilterflexfloatfloodfontforced-color-adjustgapgridheighthyphenatehyphensimageime-modeinitial-letterinline-sizeinsetinteractivityinterestinterpolate-sizeisolationjustifyleftletter-spacinglighting-colorlinelistmarginmarkermaskmathmaxminmix-blend-modeobjectoffsetopacityorderorphansoutlineoverflowoverlayoverscrollpaddingpagepaint-orderperspectiveplacepointer-eventspositionprint-color-adjustquotesrreadingresizerightrotaterowrubyrulerxryscalescrollscrollbarshapespeakstopstroketab-sizetable-layouttexttimelinetoptouch-actiontransformtransitiontranslatetrigger-scopeunicode-bidiuser-selectvector-effectvertical-alignviewvisibilitywhitewidowswidthwill-changewordwriting-modexyz-indexzoom

מאפיין background-color

מאפיין background-color קובע את צבע הרקע של תיבת האלמנט. הצבע מצויר מתחת לכל תמונות הרקע, ולכן נראה רק בחלקים השקופים שלהן (או כשאין תמונות).
.card { background-color: #f0f0f0; } .panel { background-color: oklch(0.7 0.15 240 / 0.85); }
transparentצבע שקוף לחלוטין (ערך ברירת המחדל).currentColorמשתמש בערך המאפיין color הנוכחי של האלמנט. rgb()פונקציית צבע RGB. תחביר: rgb(R G B [/ A]) או rgb(R, G, B[, A]).hsl()פונקציית צבע HSL — גוון, רוויה, בהירות.hwb()פונקציית צבע HWB — גוון, לבן, שחור.lab()פונקציית צבע במרחב CIE Lab.lch()פונקציית צבע במרחב CIE LCH.oklab()פונקציית צבע במרחב Oklab.oklch()פונקציית צבע במרחב Oklch.color()פונקציה כללית לציון צבע במרחבי-צבע מותאמים.light-dark()בוחר בין שני ערכי צבע לפי סכמת color-scheme של המסמך. CSS Backgrounds Module Level 4 First Public Working Draft <color> W3CMDN
CSS Show all code ערוך CSS און-ליין התוסף שזוכר עבורך מאות פריטי CSS כל פרופרטי CSS — בהדגמה חיה מקור הייחוס הדו-לשוני ל-CSS
הגדרהדוגמאותתחבירמודולמפרטסוגי ערכיםמקורות מידעהדגמה חזותית