Filtre chroma.()

Impossible de trouver des informations à propos du filtre chroma.().

Information (14/02/2010)

J'avais réalisé cette page le 27/02/2003, dans la fougue de la découverte des possibilités du Web. Je laisse donc ces pages à titre d'information, mais avec le recul je ne suis pas du tout convaincu, car les différents filtres présentés ici ne sont valables que pour le navigateur Internet Explorer.

Exemple de syntaxe

  1. <img src="graphique.gif" style="FILTER: GLOW(color=blue, strength=4)">

Après les deux points suit l'appel au filtre par son nom et ses paramètres séparés par des virgules. Le tout entre parenthèses.
Si un filtre ne demande aucun paramètre, les parenthèses sont tout de même présentes (comme pour un appel de fonction).

Nous pouvons combiner plusieurs filtres pour un même élément, comme le montre l'exemple suivant.

  1. <img src="graphique.gif" style="filter:Blur(strength=50) FlipH();">

Table des matières Haut

Balises HTML sur lesquelles nous pouvons appliquer les filtres

BaliseApplication
BaliseApplication
bodyla totalité de la page affichée
buttonla surface pouvant être cliquée
divle passage en relation avec les mentions de feuilles de style width: et/ou height: et/ou position:
imgle graphique référencé
inputle champ de saisie
marqueele texte déroulant
spanle passage en relation avec les mentions de feuilles de style width: et/ou height: et/ou position:
tablele tableau
tdla cellule de données d'un tableau
textareale champ de saisie à plusieurs lignes
tfootle pied d'un tableau
thla rangée d'entête d'un tableau
theadl'entête d'un tableau
trla rangée d'un tableau

Exemples d'utilisation de filtres

Les exemples changent à chaque chargement de la page. Si vous désirez d'autres exemples, vous pouvez recharger la page.

Exemple avec Alpha()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:0()</title>
  4. <meta name="Description" content="Utilisation des filtres, Demo">
  5. <meta name="Reply-to" content="vonhumboldt.wilhelm@gmail.com">
  6. <meta name="Publisher" content="von Humboldt">
  7. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  8. </head>
  9. <body>
  10. <img
  11. style="filter:Alpha(opacity=32, finishopacity=0, style=3);"
  12. src="0Filter.jpg"
  13. align="center"
  14. width="105"
  15. height="114"
  16. alt="Alpha
  17. appliqu&eacute; &agrave; une image">
  18. <span style="width: 100%; filter:Alpha(opacity=32, finishopacity=0, style=3);">
  19. Alpha
  20. appliqu&eacute; &agrave; du texte
  21. </span>
  22. </body>
  23. </html>

Table des matières Haut

Exemple avec Blur()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <head>
  4. <title>filter:1()</title>
  5. <meta name="Author" lang="fr" content="Alan Mathison Turing">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Reply-to" content="edmond@halley.info">
  8. <meta name="Copyright" content="Edmond Halley">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body>
  12. <h1>Exemple de filtre Blur</h1>
  13. width:100%; padding:10px; font-size:15pt; color:red;
  14. filter:1(strength=5)">
  15. Application de Blur(),
  16. texte avec Blur
  17. The quick brown fox jumped over the lazy dog.
  18. The quick brown fox jumped over the lazy dog.
  19. The quick brown fox jumped over the lazy dog.
  20. The quick brown fox jumped over the lazy dog.
  21. </div>
  22. </body>
  23. </html>

Table des matières Haut

Exemple avec Chroma()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <head>
  4. <title>filter:2()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Copyright" content="George Boole">
  8. </head>
  9. <body>
  10. <img
  11. style="filter:Chroma(color=#e0eee0);"
  12. src="2Filter.jpg"
  13. align="center"
  14. width="75"
  15. height="82"
  16. alt="Chroma
  17. appliqu&eacute; &agrave; une image">
  18. <span style="width: 100%; filter:Chroma(color=#e0eee0);">
  19. Chroma
  20. appliqu&eacute; &agrave; du texte
  21. </span>
  22. </body>
  23. </html>

Table des matières Haut

Exemple avec DropShadow()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <head>
  4. <title>filter:3()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Reply-to" content="alanmathison@turing.info">
  8. <meta name="Copyright" content="Alan Mathison Turing">
  9. <meta http-equiv="content-language" content="fr">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11. </head>
  12. <body>
  13. <form>
  14. <textarea id="test_textarea"
  15. style="filter:DropShadow(color=#8470ff);"
  16. rows="15"
  17. cols="13">
  18. The quick brown fox jumped over the lazy dog.
  19. type="button"
  20. name="btn1"
  21. value="Test"
  22. style="filter:DropShadow(color=#8470ff);" />
  23. </form>
  24. </body>
  25. </html>

Table des matières Haut

Exemple avec FlipH()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:4()</title>
  4. <meta name="Copyright" content="Robert Boyle">
  5. <meta http-equiv="content-language" content="fr">
  6. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  7.  
  8. body {
  9. margin: 2px;
  10. padding: 15px;
  11. font-family: verdana;
  12. font-size: 13px;
  13. min-width: 711px;
  14. background:#FFFFFF;
  15. color:#000000;
  16. }
  17. </style>
  18.  
  19. </head>
  20.  
  21. <body>
  22. <img
  23. style="filter:FlipH();"
  24. src="4Filter.jpg"
  25. align="center"
  26. width="80"
  27. height="114"
  28. alt="FlipH
  29. appliqu&eacute; &agrave; une image">
  30. <span style="width: 100%; filter:FlipH();">
  31. FlipH
  32. appliqu&eacute; &agrave; du texte
  33. </span>
  34. </body>
  35. </html>

Table des matières Haut

Exemple avec FlipV()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <head>
  4. <title>filter:5()</title>
  5. <meta name="Reply-to" content="liskov.barbara@infobrol.int">
  6. <meta name="Publisher" content="Liskov">
  7. <meta name="Copyright" content="Barbara Liskov">
  8. <meta http-equiv="content-language" content="fr">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10.  
  11. body {
  12. margin: 3px;
  13. padding: 15px;
  14. font-family: verdana;
  15. font-size: 17px;
  16. min-width: 612px;
  17. }
  18. </style>
  19.  
  20. </head>
  21.  
  22. <body bgcolor="#FFFFFF" text="#000000">
  23. <img
  24. style="filter:FlipV();"
  25. src="5Filter.jpg"
  26. align="center"
  27. width="77"
  28. height="105"
  29. alt="FlipV
  30. appliqu&eacute; &agrave; une image">
  31. <span style="width: 100%; filter:FlipV();">
  32. FlipV
  33. appliqu&eacute; &agrave; du texte
  34. </span>
  35. </body>
  36. </html>

Table des matières Haut

Exemple avec Glow()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:6()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  9. <meta name="Reply-to" content="amaduzzi.giovannicristofano@infobrol.int">
  10. <meta name="Publisher" content="Amaduzzi">
  11. <meta name="Copyright" content="Giovanni Cristofano Amaduzzi">
  12. <meta http-equiv="content-language" content="fr">
  13. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  14.  
  15. body {
  16. margin: 2px;
  17. padding: 15px;
  18. font-family: verdana;
  19. font-size: 13px;
  20. min-width: 711px;
  21. background:#FFFFFF;
  22. color:#000000;
  23. }
  24. </style>
  25.  
  26. </head>
  27.  
  28. <body>
  29. <img
  30. style="filter:Glow(color=#e0eee0, strength=13);"
  31. src="6Filter.jpg"
  32. align="center"
  33. width="86"
  34. height="113"
  35. alt="Glow
  36. appliqu&eacute; &agrave; une image">
  37. <span style="width: 100%; filter:Glow(color=#e0eee0, strength=13);">
  38. Glow
  39. appliqu&eacute; &agrave; du texte
  40. </span>
  41. </body>
  42. </html>

Table des matières Haut

Exemple avec Gray()

  1. <head>
  2. <title>filter:7()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Author" lang="fr" content="Dennis Ritchie">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="vonhumboldt.wilhelm@gmail.com">
  7. <meta name="Publisher" content="von Humboldt">
  8. <meta name="Copyright" content="Wilhelm von Humboldt">
  9. <meta http-equiv="content-language" content="fr">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11.  
  12. body {
  13. margin: 2px;
  14. padding: 15px;
  15. font-family: verdana;
  16. font-size: 13px;
  17. min-width: 711px;
  18. background:#FFFFFF;
  19. color:#000000;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body>
  26. <h1>Exemple de filtre Gray</h1>
  27. <div align="center">
  28. <img
  29. src="filter_7.gif"
  30. style="filter:Gray()"
  31. width="36"
  32. height="195"
  33. alt="Exemple de filtre 7"
  34. border="0">
  35. </div>
  36. </body>
  37. </html>

Table des matières Haut

Exemple avec Invert()

  1. <!DOCTYPE html PUBLIC
  2. "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <head>
  5. <title>filter:8()</title>
  6. <meta name="Author" lang="fr" content="Ibn Tufayl">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Publisher" content="Feigenbaum">
  9. <meta name="Copyright" content="Edward Feigenbaum">
  10. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  11.  
  12. body {
  13. margin: 3px;
  14. padding: 15px;
  15. font-family: verdana;
  16. font-size: 17px;
  17. min-width: 612px;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body bgcolor="#FFFFFF" text="#000000">
  24. <form>
  25. <textarea id="test_textarea"
  26. style="filter:Invert();"
  27. rows="14"
  28. cols="7">
  29. The quick brown fox jumped over the lazy dog.
  30. type="button"
  31. name="btn1"
  32. value="Test"
  33. style="filter:Invert();" />
  34. </form>
  35. </body>
  36. </html>

Table des matières Haut

Exemple avec Mask()

  1. <head>
  2. <title>filter:9()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta http-equiv="pragma" content="no-cache">
  5. <meta name="Author" lang="fr" content="Rasmus Lerdorf">
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Reply-to" content="hegel.georg@infobrol.edu">
  8. <meta name="Copyright" content="Georg Hegel">
  9. <meta http-equiv="content-language" content="fr">
  10. </head>
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. <img
  13. style="filter:Mask(color=#e0eee0);"
  14. src="9Filter.jpg"
  15. align="center"
  16. width="92"
  17. height="95"
  18. alt="Mask
  19. appliqu&eacute; &agrave; une image">
  20. <span style="width: 100%; filter:Mask(color=#e0eee0);">
  21. Mask
  22. appliqu&eacute; &agrave; du texte
  23. </span>
  24. </body>
  25. </html>

Table des matières Haut

Exemple avec Shadow()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  4. <head>
  5. <title>filter:10()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta name="Author" lang="fr" content="John Backus">
  9. <meta name="Description" content="Utilisation des filtres, Demo">
  10. <meta name="Reply-to" content="edmond@halley.info">
  11. <meta name="Publisher" content="Halley">
  12. <meta name="Copyright" content="Edmond Halley">
  13. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  14.  
  15. body {
  16. margin: 3px;
  17. padding: 15px;
  18. font-family: verdana;
  19. font-size: 17px;
  20. min-width: 612px;
  21. }
  22. </style>
  23.  
  24. </head>
  25.  
  26. <body bgcolor="#FFFFFF" text="#000000">
  27. <h1>Exemple de filtre Shadow</h1>
  28. <div align="center">
  29. <img
  30. src="filter_10.gif"
  31. style="filter:Shadow(color=#8470ff)"
  32. width="70"
  33. height="42"
  34. alt="Exemple de filtre 10"
  35. border="0">
  36. </div>
  37. </body>
  38. </html>

Table des matières Haut

Exemple avec Wave()

  1. <head>
  2. <title>filter:11()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta http-equiv="pragma" content="no-cache">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Reply-to" content="scot.duns@infobrol.com">
  7. <meta name="Publisher" content="Scot">
  8. <meta name="Copyright" content="Duns Scot">
  9. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  10.  
  11. body {
  12. margin: 2px;
  13. padding: 15px;
  14. font-family: verdana;
  15. font-size: 13px;
  16. min-width: 711px;
  17. background:#FFFFFF;
  18. color:#000000;
  19. }
  20. </style>
  21.  
  22. </head>
  23.  
  24. <body>
  25. <h1>Exemple de filtre Wave</h1>
  26. <div align="center">
  27. <img
  28. src="filter_11.gif"
  29. style="filter:Wave(light=61, freq=12)"
  30. width="63"
  31. height="66"
  32. alt="Exemple de filtre 11"
  33. border="0">
  34. </div>
  35. </body>
  36. </html>

Table des matières Haut

Exemple avec XRay()

  1. <head>
  2. <title>filter:12()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  4. <meta name="Author" lang="fr" content="Evangelista Torricelli">
  5. <meta name="Publisher" content="Berners-Lee">
  6. <meta name="Copyright" content="Tim Berners-Lee">
  7. <meta http-equiv="content-language" content="fr">
  8. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  9.  
  10. body {
  11. margin: 2px;
  12. padding: 15px;
  13. font-family: verdana;
  14. font-size: 13px;
  15. min-width: 711px;
  16. background:#FFFFFF;
  17. color:#000000;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body>
  24. <h1>Exemple de filtre XRay</h1>
  25. <div align="center">
  26. <img
  27. src="filter_12.gif"
  28. style="filter:XRay()"
  29. width="178"
  30. height="82"
  31. alt="Exemple de filtre 12"
  32. border="0">
  33. </div>
  34. </body>
  35. </html>

Table des matières Haut

Liste de filtres

#NomEffet
#NomEffet
0Alpha()effet de fusion de l'avant-plan et l'arrière-plan
1Blur()effet d'estompe
2Chroma()effet de couleur transparente
3DropShadow()effet d'ombrage
4FlipH()effet de symétrie sur axe horizontal
5FlipV()effet de symétrie sur axe vertical
6Glow()effet de bords flambants
7Gray()effet de nuances de gris
8Invert()effet d'inversion
9Mask()effet de masque transparent
10Shadow()effet d'ombres
11Wave()effet d'ondulation
12XRay()effet négatif photo

Afficher tous les filtres avec exemples.

Version en cache

06/07/2025 23:02:13 Cette version de la page est en cache (à la date du 06/07/2025 23:02:13) afin d'accélérer le traitement. Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.

Document créé le 27/02/2003, dernière modification le 26/10/2018
Source du document imprimé : https://www.gaudry.be/html-filtres-rf-all.html/html-filtres-rf-chroma.html/

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Filtres : selfhtml (version 13/02/10)

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut