Andi Publisherdesain ruangLP2STMICMI Orda SlemanHIRING TALENTAPaguyuban Dimas Diajeng JogjaSuara PribumiEmpower Punjab Children5 bloggeramerican party scassistive technology partnersbebimibroom corn johnnyschamber lains oflondonchaville blogclub de lisacolorado actioneobd toolgarage doors and partsglobal health wiregrb projecthaberedhave seat will travelimmovestinginspa kyotojohn hawkin sunratedkhaleej times jobsleegay lordlight house denvermclubworldmeet muscatinemidwest garage buildersmonika pandeynet protozopersonal cloudsrippin kitten1 buy celebrex onlinerobert drawsscreemoshahid onlinest francis luck nowsustainability pioneersthe berk shire mallthe blackmore groupthorn ville churchvisit mark twain lakeGarda MediaRadio Senda 1680Rumah JualIndependent ReportSultana RoyalDiyes internationalPasmarqueKudakyivABGXMoron CafeElm Sleepidnggidnppidnpp loginidngg loginoxliga loginoxligaEl Valle GritaHorror YearbookIdnplay NewsGang FlowKDUN RadioTech by AndroidALIVEfmFastCreaSitePrediksi SDY SGP MACAU HK dan Keluaran SDY HK SGPArcadia DailyTop Ten ThingsPlay Source InfoLestanze CafeDiesel SpecialistNGO CS TipCasal Del RavalIDNPPMeikartagrandal mas residenceTatoo Art IndonesiaLoves Diet SehatSkena FashionPrediksi Master Hari IniNaturindoFitAS Roma Forza RomaPT Eastparc Hotel TbkTutorials PhotoshopPolitikosGayPriderakun303Situs TogelHongkong PoolsMondoRealityAMA Yogyakartaaroma masakhidangan istimewainspirasi masakinfo alam indonesialiburan pariwisatajelajah alam indonesiawisata alam indonesiacek kesehatandunia edukasisolusi ekonomidunia skincarezona life styledunia mistisalam mistiskisah mistissumber misteridunia misteriberita sejarahsejarah masa laluwarisan sejarahsejarah internasionalmisteri sejarahkulit sehatdaily skinskin care hariantren skin carerahasia glowingzona musikhidup trendiarsitek modernrambut sehatrevolusi teknologidunia mahasiswateknologi otomotiflogo ipnu ippnuBukit Podomoro JakartaLRT City CiracasEpiltechBurgaslibphithan-usedcarTRUMQChris Caglebeer adventcagle cocartography vectorsGolovnaExtreme and crisis psychologyBoss Vape MedanLink Nonton GratisTonton GratisUnited GamingSV388Fundacion RapalaQris76Flowin77Link Alternatif Flowin77flowin77 deposit qrisIndojp188Indojp188Dunia FaunaFakta SehariTren HarapanGadgetkanGosipliciousiNewsComplexiNewsFootballPollux TierFoomer OfficialCommon SightJurnal TempoRuang MistisiNews CombatSitus DemoLove Food Ready MealsPetite PaulinaBeauty RivalSpecialty Network SllcmichaelmezoMitra Edukasi NusantaraAdana OptimumHilltown Karsiyaka HilltownIstanbul Optimum Premium OutletFDRE Ministry of EducationMancomunidad del Norteizmir OptimumKahramanmaras PiazzaSamsun PiazzaSanliurfa PiazzaKozzyMaltepe ParkAnkaraStikes AkbidyoKolom Online MakassarParoki Cikarang Gereja Ibu TeresaLazismu PekalonganPesantren Mahasiswa FIRDAUS MalangnulebaksiuIslahwebTEKNOKRAT MANDIRI INSTITUTERose Environmental LTDMaltepe PiazzaIzmir OptimumOhrana uaMoE E-Learning and D-LibraryRS PetukanganSTIE AMKOP MAKASSARclbktotoJogjapropertiLearn EnglishNyai99Imperial GroupEden VillasMega888MEGA888 CASINO ONLINEMEGA888 ORIGINAL APKMEGA888 TRUSTED SITEMega888 Free Download ApkMega888 Malaysia Casinohttps://peshawarhcbannubench.gov.pk/S Jalan & Coclbktotoclbktotohttps://art-imagery.com/https://www.troquedeenergia.com/seroja88seroja88seroja88clbktotohongkong poolshttps://capcusjp.org/https://inthecanaryislands.com/https://realpresidentdonaldtrump.com/https://ligasudamerica.com/https://insearchofabrother.com/https://www.beatfactorymusic.com/https://www.entradasx.com/https://theskepsis.com/https://www.algerien-heute.com/https://zichyfamily.com/https://www.worldrollingseries.com/https://www.transaktual.com/https://www.therhinoguide.com/https://www.kanyetalk.com/https://www.manoprograma.com/https://www.ibn-arabi.com/https://arikomondor.com/https://www.pembangunanmasyarakat.com/https://fasilitator-masyarakat.org/https://masyarakatkomik.org/https://www.masyarakatmandiri.org/https://masyarakatmadani.com/https://www.masyarakatpedulibpjs.org/https://www.berita-kedokteran-masyarakat.org/https://sampahmasyarakat.com/https://masyarakatcintabogor.com/https://masyarakatadat.org/https://www.kabarakyatsumsel.com/https://rakyatrukun.com/https://pestafutsalrakyat.com/https://www.rencanarakyat.com/https://www.nouveautes-actu.com/https://www.journalsubscriber.com/https://www.suararakyatdaerah.net/https://fragrancejournals.com/https://lifedesignjournals.com/https://www.zacharyselig.com/https://www.serwislokalny.com/https://www.mafiasecretjudge.com/https://www.racontemoiottawa.com/seroja88https://www.annsilvasbernina.com/hk poolsmakmur303makmur303seroja88makmur303akun303Politeknik Tunas PemudaclbktotoclbktotoLEDIKNAShttps://clbktoto.burgaslib.bg/PDAM BantulSMA Negeri 7 Tanjungpinangstit payakumbuhSMK BHAKTI PERSADAjadwal Bimtek NasionalSMK Negeri 2 Praya Tengahhttps://smart-leaders.net/blogs/file/itsupport rootsinternationalclbktotoclbktotoclbktotoelnamliahSv388Scatter Hitamsahabat sehatGaya Hidup Sehatdokter keluargaSolusi Kulit SehatRambut Sehat BerkilauRambut Indah SehatTren Hidup SehatInspirasi Lifestyleinspirasi hidup sehatZonaMusikIndonesiaDuniaMusikHitsmusikkitaInovasiOtomotifRevolusiOtomotifotomotifdigitalgayarumahmurahArsitekKreatifdesainruanganbelajarbersamapendidikanindonesiakebun indonesiatanaman indonesiakebun mandirikarya anak indonesiaide kreatifkreatif tanpa bataskreativitaskudunia kebunBonanza CandylandLink Scatter HitamLink Gacor ThailandCLBKTOTOCLBKTOTODeposit Via QrisSeroja88Seroja88Makmur303Makmur303Khasanah Sari BakeryDana Mitra LingkunganHimpunan Sarjana Kesusastraan IndonesiaSmart Doctors https://greenville-autorepair.com/https://www.phuketwebmedia.com/https://seroja88-a1.cut.org.co/https://www.gamespendidikan.com/https://linkpendidikan.com/https://www.bavanatecotour.com/https://bigtimerush-nickpress.com/https://www.moreshetashkenaz.com/https://babygamba.com/https://www.aventurabiz.com/https://www.christianrockrocks.com/https://majalahsuarapendidikan.net/https://www.pendidikanislam.net/https://pendidikanbahasajepang-unnes.com/https://filmingkenya.com/https://www.highways-denmark.com/https://artikelpendidikan.net/https://www.tourcentroamerica.com/seroja88seroja88seroja88seroja88seroja88Prediksi Master HK Hongkong Hari Ini 01 April 2025Prediksi Master Sdy Sydney Hari Ini 01 April 2025Prediksi Master Macau Hari Ini 01 April 2025arema fc libur lebaranchelsea bidik bek feyenoorderling haaland cederajadwal semifinal coppa italialiverpool incar jonathan tahpssi dikabarkan dekati tristan gooijertimnas indonesiatristan gooijerlegenda psms dan psmole romeny bikin hebohaksi keren gol spektakulerpelatih oxford unitedromeny gagal selamatkan oxfordbintang muda dari atletico madridsatu wajah 2 tujuanole romeny membawa indonesiamilan turun performasalah satunya rizky ridhocalvin verdonk akhirnya buka suaramembawa tim red sparkpenentu indonesia lolos piala duniarumor pemain naturalisasi terbarumedia asing soroti jay idzesPrediksi Master SGP Singapore Hari Ini 02 April 2025Prediksi Master HK Hongkong Hari Ini 02 April 2025Prediksi Master Sdy Sydney Hari Ini 02 April 2025Prediksi Master Macau Hari Ini 02 April 2025prediksi master sgp singapore hari ini 03 april 2025prediksi master hk hongkong hari ini 03 april 2025prediksi master sdy sydney hari ini 03 april 2025prediksi master macau hari ini 03 april 2025alasan kenapa kamu masih belum kayacara instant cairkan dana kagetkisah pertarungan demon slayerojk ingatkan modus penipuanpraktis langsung cairtelat bayar utang pinjol3 resep opor ayamlagi heboh tersebarberita hebo perihal thr ilegalrilis iphone 17Prediksi Master HK Hongkong Hari Ini 04 April 2025Prediksi Master Sdy Sydney Hari Ini 04 April 2025Prediksi Master Macau Hari Ini 04 April 2025platform game onlinedapatkan saldo shopee paycek nomor andaupdate aplikasi penghasil uangsyarat dan ketentuan cek di sinicara dapatkan saldo tambahanPrediksi Master SGP Singapore Hari Ini 05 April 2025Prediksi Master HK Hongkong Hari Ini 05 April 2025Prediksi Master Sdy Sydney Hari Ini 05 April 2025Prediksi Master Macau Hari Ini 05 April 2025

Guida CSS, il colore del testo con color

css color colore testo
I fogli di stile CSS permettono di intervenire su una molteplicità di aspetti degli elementi di testo. In questa guida vedremo come utilizzare la proprietà color per attribuire un colore ad un elemento testuale di una pagina HTML. Si tratta evidentemente di una delle proprietà più utilizzate per personalizzare un documento e migliorarne la leggibilità.

La proprietà color nei CSS

Come al solito assumiamo come riferimento un breve spezzone di codice di un foglio di stile CSS:

p {color: red;}
h1 {color: #cc6600;}

La prima riga del codice indica al browser che il testo dei paragrafi (elemento p di HTML) andrà rappresentato con il colore rosso (red in inglese). La seconda riga del codice riguarda invece i rotoli di primo livello (elemento h1 di HTML) che verranno rappresentati con una tonalità di arancio rappresentata dal codice esadecimale #cc6600.

La descrizione dei colori nei CSS

Dai due esempi descritti sopra possiamo subito osservare che la proprietà color in un foglio di stile CSS può utilizzare diverse tipologie di valori:

  • Nel primo esempio si è utilizzata la parola chiave red per indicare il rosso. Le parole utilizzabili allo stesso modo sono: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, purple, red, silver, teal, olive, white e yellow. Si tratta in pratica di una tavolozza di 16 colori base propri dello standard VGA.
  • Nella seconda riga del codice CSS invece si è utilizzata una rappresentazione esadecimale dei colori che permette di utilizzare una tavolozza decisamente più estesa. Esistono molti strumenti per determinare il codice esadedimale di un colore. Ad esempio il programma LazPaint, di cui abbiamo spesso parlato in passato, visualizza costantemente questo genere di informazione. Anche Wikipedia offre una colorata pagina riassuntiva con i codici esadecimali di centinaia di colori.
  • Anche se meno utilizzato, color accetta anche la notazione RGB.