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. <!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:0()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  8. <meta name="Reply-to" content="pascal.blaise@infobrol.pro">
  9. <meta name="Publisher" content="Pascal">
  10. <meta name="Copyright" content="Blaise Pascal">
  11. <meta http-equiv="content-language" content="fr">
  12. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  13.  
  14. body {
  15. margin: 4px;
  16. padding: 6px;
  17. font-family: verdana;
  18. font-size: 9px;
  19. min-width: 723px;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body bgcolor="#FFFFFF" text="#000000">
  26. <h1>Exemple de filtre Alpha</h1>
  27. <div align="center">
  28. <img
  29. src="filter_0.gif"
  30. style="filter:Alpha(opacity=54, finishopacity=0, style=2)"
  31. width="83"
  32. height="187"
  33. alt="Exemple de filtre 0"
  34. border="0">
  35. </div>
  36. </body>
  37. </html>

Table des matières Haut

Exemple avec Blur()

  1. <head>
  2. <title>filter:1()</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  5. <meta name="Reply-to" content="abrikosov.alexei@gmail.com">
  6. <meta name="Publisher" content="Abrikosov">
  7. <meta name="Copyright" content="Alexei Abrikosov">
  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: 4px;
  13. padding: 6px;
  14. font-family: verdana;
  15. font-size: 9px;
  16. min-width: 723px;
  17. }
  18. </style>
  19.  
  20. </head>
  21.  
  22. <body bgcolor="#FFFFFF" text="#000000">
  23. <h1>Exemple de filtre Blur</h1>
  24. <div align="center">
  25. <img
  26. src="filter_1.gif"
  27. style="filter:Blur(direction=270, strength=12)"
  28. width="150"
  29. height="157"
  30. alt="Exemple de filtre 1"
  31. border="0">
  32. </div>
  33. </body>
  34. </html>

Table des matières Haut

Exemple avec Chroma()

  1. <head>
  2. <title>filter:2()</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="Jean-Raymond Abrial">
  6. <meta name="Description" content="Utilisation des filtres, Demo">
  7. <meta name="Reply-to" content="tesla.nikola@infobrol.tk">
  8. <meta name="Copyright" content="Nikola Tesla">
  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: 1px;
  15. font-family: verdana;
  16. font-size: 19px;
  17. min-width: 786px;
  18. background:#FFFFFF;
  19. color:#000000;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body>
  26. <form>
  27. <textarea id="test_textarea"
  28. style="filter:Chroma(color=#e0eee0);"
  29. rows="14"
  30. cols="6">
  31. The quick brown fox jumped over the lazy dog.
  32. The quick brown fox jumped over the lazy dog.
  33. The quick brown fox jumped over the lazy dog.
  34. type="button"
  35. name="btn1"
  36. value="Test"
  37. style="filter:Chroma(color=#e0eee0);" />
  38. </form>
  39. </body>
  40. </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 http-equiv="pragma" content="no-cache">
  7. <meta name="Author" lang="fr" content="Ludwig Wittgenstein">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Publisher" content="Khayyam">
  10. <meta name="Copyright" content="Omar Khayyam">
  11. <meta http-equiv="content-language" content="fr">
  12. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  13.  
  14. body {
  15. margin: 4px;
  16. padding: 6px;
  17. font-family: verdana;
  18. font-size: 9px;
  19. min-width: 723px;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body bgcolor="#FFFFFF" text="#000000">
  26. <h1>Exemple de filtre DropShadow</h1>
  27. width:100%; padding:12px; font-size:14pt; color:red;
  28. filter:3(offx=1, offy=3)">
  29. Application de DropShadow(),
  30. texte avec DropShadow
  31. The quick brown fox jumped over the lazy dog.
  32. The quick brown fox jumped over the lazy dog.
  33. The quick brown fox jumped over the lazy dog.
  34. The quick brown fox jumped over the lazy dog.
  35. </div>
  36. </body>
  37. </html>

Table des matières Haut

Exemple avec FlipH()

  1. <head>
  2. <title>filter:4()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  4. <meta name="Copyright" content="Christian Doppler">
  5. <meta http-equiv="content-language" content="fr">
  6. </head>
  7. <body>
  8. <img
  9. style="filter:FlipH();"
  10. src="4Filter.jpg"
  11. align="center"
  12. width="77"
  13. height="104"
  14. alt="FlipH
  15. appliqu&eacute; &agrave; une image">
  16. <span style="width: 100%; filter:FlipH();">
  17. FlipH
  18. appliqu&eacute; &agrave; du texte
  19. </span>
  20. </body>
  21. </html>

Table des matières Haut

Exemple avec FlipV()

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <head>
  3. <title>filter:5()</title>
  4. <meta name="Author" lang="fr" content="Jacques Bernoulli">
  5. <meta name="Description" content="Utilisation des filtres, Demo">
  6. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  7. <meta name="Reply-to" content="scot.duns@infobrol.int">
  8. <meta name="Copyright" content="Duns Scot">
  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: 1px;
  15. font-family: verdana;
  16. font-size: 19px;
  17. min-width: 786px;
  18. background:#FFFFFF;
  19. color:#000000;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body>
  26. <h1>Exemple de filtre FlipV</h1>
  27. <div align="center">
  28. <img
  29. src="filter_5.gif"
  30. style="filter:FlipV()"
  31. width="137"
  32. height="150"
  33. alt="Exemple de filtre 5"
  34. border="0">
  35. </div>
  36. </body>
  37. </html>

Table des matières Haut

Exemple avec Glow()

  1. <head>
  2. <title>filter:6()</title>
  3. <meta http-equiv="pragma" content="no-cache">
  4. <meta name="Author" lang="fr" content="Alan Mathison Turing">
  5. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  6. <meta name="Copyright" content="Joseph Fourier">
  7. <meta http-equiv="content-language" content="fr">
  8. </head>
  9. <body bgcolor="#FFFFFF" text="#000000">
  10. <h1>Exemple de filtre Glow</h1>
  11. width:100%; padding:12px; font-size:10pt; color:red;
  12. filter:6(color=#e0eee0, strength=19)">
  13. Application de Glow(),
  14. texte avec Glow
  15. The quick brown fox jumped over the lazy dog.
  16. The quick brown fox jumped over the lazy dog.
  17. The quick brown fox jumped over the lazy dog.
  18. The quick brown fox jumped over the lazy dog.
  19. </div>
  20. </body>
  21. </html>

Table des matières Haut

Exemple avec Gray()

  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:7()</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="Author" lang="fr" content="Georg Hegel">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  10. <meta name="Reply-to" content="becquerel.antoinehenri@infobrol.edu">
  11. <meta name="Copyright" content="Antoine Henri Becquerel">
  12. <meta http-equiv="content-language" content="fr">
  13. </head>
  14. <body>
  15. <div style="width: 100%; filter:Gray();">
  16. Ceci est un texte avec Gray...
  17. </div>
  18. </body>
  19. </html>

Table des matières Haut

Exemple avec Invert()

  1. <head>
  2. <title>filter:8()</title>
  3. <meta name="Author" lang="fr" content="Andrew Stuart Tanenbaum">
  4. <meta name="Description" content="Utilisation des filtres, Demo">
  5. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  6. <meta name="Reply-to" content="fourier.charles@infobrol.tk">
  7. <meta name="Publisher" content="Fourier">
  8. <meta name="Copyright" content="Charles Fourier">
  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. <div style="width: 100%; filter:Invert();">
  14. Ceci est un texte avec Invert...
  15. </div>
  16. </body>
  17. </html>

Table des matières Haut

Exemple avec Mask()

  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:9()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta name="Description" content="Utilisation des filtres, Demo">
  8. <meta name="Publisher" content="Lequier">
  9. <meta name="Copyright" content="Jules Lequier">
  10. <meta http-equiv="content-language" content="fr">
  11. </head>
  12. <body bgcolor="#FFFFFF" text="#000000">
  13. <div style="width: 100%; filter:Mask(color=#e0eee0);">
  14. Ceci est un texte avec Mask...
  15. </div>
  16. </body>
  17. </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. <head>
  4. <title>filter:10()</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta name="Author" lang="fr" content="Edmund Burke">
  8. <meta name="Description" content="Utilisation des filtres, Demo">
  9. <meta name="Identifier-URL" content="https://www.gaudry.be/">
  10. <meta name="Reply-to" content="lenat.douglas@infobrol.biz">
  11. <meta name="Copyright" content="Douglas Lenat">
  12. <meta http-equiv="content-language" content="fr">
  13. </head>
  14. <body bgcolor="#FFFFFF" text="#000000">
  15. <div style="width: 100%; filter:Shadow(direction=0, color=#e0eee0);">
  16. Ceci est un texte avec Shadow...
  17. </div>
  18. </body>
  19. </html>

Table des matières Haut

Exemple avec Wave()

  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:11()</title>
  5. <meta http-equiv="pragma" content="no-cache">
  6. <meta name="Copyright" content="Benjamin Thompson">
  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: 1px;
  13. font-family: verdana;
  14. font-size: 19px;
  15. min-width: 786px;
  16. background:#FFFFFF;
  17. color:#000000;
  18. }
  19. </style>
  20.  
  21. </head>
  22.  
  23. <body>
  24. <div style="width: 100%; filter:Wave(freq=43, light=65, phase=0, strength=7);">
  25. Ceci est un texte avec Wave...
  26. </div>
  27. </body>
  28. </html>

Table des matières Haut

Exemple avec XRay()

  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:12()</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="Ibn Tufayl">
  9. <meta name="Reply-to" content="vanallen@jamesalfred.info">
  10. <meta name="Copyright" content="Van Allen James Alfred">
  11. <meta http-equiv="content-language" content="fr">
  12. <link media="screen" type="text/css" rel="stylesheet" href="filters.css" />
  13.  
  14. body {
  15. margin: 4px;
  16. padding: 6px;
  17. font-family: verdana;
  18. font-size: 9px;
  19. min-width: 723px;
  20. }
  21. </style>
  22.  
  23. </head>
  24.  
  25. <body bgcolor="#FFFFFF" text="#000000">
  26. <img
  27. style="filter:XRay();"
  28. src="12Filter.jpg"
  29. align="center"
  30. width="84"
  31. height="79"
  32. alt="XRay
  33. appliqu&eacute; &agrave; une image">
  34. <span style="width: 100%; filter:XRay();">
  35. XRay
  36. appliqu&eacute; &agrave; du texte
  37. </span>
  38. </body>
  39. </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.

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